Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCheckers = []Checker{ BinCheck{"bin"}, BinCheck{"node_modules/.bin"}, BinCheck{".venv/bin"}, DotEnvCheck{".envy"}, GoPathCheck{}, GitRootCheck{}, }
AllCheckers is a list of all Checker interfaces to use.
Functions ¶
This section is empty.
Types ¶
type BinCheck ¶
type BinCheck struct {
RelPath string
}
BinCheck checks for a directory with executables to add to the PATH.
type Checker ¶
Checker is the interface shared by functions that check for Actions to take for the given path.
type DotEnvCheck ¶
type DotEnvCheck struct {
RelPath string
}
DotEnvCheck checks for a .env file and loads the variables defined there
type GitRootCheck ¶
type GitRootCheck struct{}
GitRootCheck checks if a path is the root of a git checkout.
Click to show internal directories.
Click to hide internal directories.