magedeps

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureFile

func EnsureFile(file string) error

Ensure a file and it's file path exist.

Types

type DependencyDirectory

type DependencyDirectory string

func (DependencyDirectory) Bin

func (d DependencyDirectory) Bin() string

Returns the /bin directory containing the dependency binaries.

func (DependencyDirectory) GoInstall

func (d DependencyDirectory) GoInstall(tool, packageURl, version string) error

Go install a dependency into the dependency directory

func (DependencyDirectory) NeedsRebuild

func (d DependencyDirectory) NeedsRebuild(tool, version string) (needsRebuild bool, err error)

Checks if a tool in the dependency directory needs to be rebuild.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL