Documentation ¶
Overview ¶
Package wspace provides functions to locate and modify a bazel WORKSPACE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRepoRoot ¶ added in v0.21.0
FindRepoRoot searches from the given dir and up for a directory containing a WORKSPACE file returning the directory containing it, or an error if none found in the tree.
func FindWORKSPACEFile ¶ added in v0.21.0
FindWORKSPACEFile returns a path to a file in the provided root directory, either to an existing WORKSPACE or WORKSPACE.bazel file, or to root/WORKSPACE if neither exists. Note that this function does NOT recursively check parent directories.
func IsWORKSPACE ¶ added in v0.21.0
IsWORKSPACE checks whether path is named WORKSPACE or WORKSPACE.bazel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.