Skip to main content

RunfilesTree.empty_files

RunfilesTree.empty_files: list[str]
The paths of empty files relative to the subdirectory of the runfiles tree root corresponding to the main repository.

RunfilesTree.input_set_id

RunfilesTree.input_set_id: int
The entry ID of the set of artifacts in the runfiles tree that are symlinked at their canonical locations relative to the tree path. See SpawnLogReconstructor#getRunfilesPaths for how to recover the tree-relative paths of the artifacts from their exec paths. In case of path collisions, later artifacts overwrite earlier ones and artifacts override custom symlinks. The referenced set must not transitively contain any runfile trees.

RunfilesTree.legacy_external_runfiles

RunfilesTree.legacy_external_runfiles: bool
Whether the runfiles tree contains external runfiles at their legacy locations (e.g. _main/external/bazel_tools/tools/bash/runfiles.bash) in addition to the default locations (e.g. bazel_tools/tools/bash/runfiles.bash).

RunfilesTree.path

RunfilesTree.path: str
The runfiles tree path.

RunfilesTree.repo_mapping_manifest

RunfilesTree.repo_mapping_manifest: None | file
The “_repo_mapping” file at the root of the runfiles tree, if it exists. Only the digest is stored as the relative path is fixed.
RunfilesTree.root_symlinks_id: int
The entry ID of the set of symlink entries with paths relative to the root of the runfiles tree.
RunfilesTree.symlinks_id: int
The entry ID of the set of symlink entries with paths relative to the subdirectory of the runfiles tree root corresponding to the main repository.