Documentation ¶
Overview ¶
Package tools provides helper functions used in multiple build tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFilePatternDirs ¶ added in v0.4.0
func FindModules ¶
FindModules returns all Go modules in the file tree rooted at root.
func FindRoot ¶
FindRoot retrieves the root of the repository containing the current working directory. Beginning at the current working directory (dir), the algorithm checks if joining the ".git" suffix, such as "dir.get", is a valid file. Otherwise, it will continue checking the dir's parent directory until it reaches the repo root or returns an error if it cannot be found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.