Documentation
¶
Overview ¶
Package repo 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
FindFilePatternDirs returns files in the root directory that match the pattern. Any directories that match the ignore patterns are ignored.
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.