Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns the path to the workspace's root directory.
Under Bazel, it returns the path to the runfiles directory. Test targets must include any required files under their "data" attribute for said files to be included in the runfiles directory.
Outside of Bazel, it returns the path to the repo checkout's root directory. Note that this will return an error if the CWD is not inside a checkout, so this cannot run on production servers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.