Members
basename
dirname
None.
exists
watch() method on the context object.
get_child
Parameters
ParameterDescriptionrelative_paths
required
Zero or more relative path strings to append to this path with path separators added as needed.
is_dir
watch() method on the context object.
readdir
path object itself.
Parameters
ParameterDescriptionwatchstring;
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).