Members
basename
dirname
None.
exists
watch() method on the context object.
get_child
Parameters
is_dir
watch() method on the context object.
readdir
path object itself.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The new site is online! Please use this issue to report any problems.
string path.basename
path path.dirname
None.
bool path.exists
watch() method on the context object.
path path.get_child(*relative_paths)
| Parameter | Description |
|---|---|
relative_paths | required Zero or more relative path strings to append to this path with path separators added as needed. |
bool path.is_dir
watch() method on the context object.
list path.readdir(*, watch='auto')
path object itself.
| Parameter | Description |
|---|---|
watch | string; default is 'auto' whether Bazel should watch the list of entries in this directory and refetch the repository or re-evaluate the module extension next time when any changes are detected. Changes to detect include entry creation, deletion, and renaming. Note that this doesn’t watch the contents of any entries in the directory. Can be the string ‘yes’, ‘no’, or ‘auto’. If set to ‘auto’, Bazel will only watch this directory when it is legal to do so (see repository_ctx.watch() docs for more information). |
path path.realpath