File.digest
Digest of the file, using the build tool’s configured digest algorithm, hex-encoded.
File.file
File.length
Length of the file in bytes.
File.name
identifier indicating the nature of the file (e.g., “stdout”, “stderr”)
File.path_prefix
A sequence of prefixes to apply to the file name to construct a full path. In most but not all cases, there will be 3 entries:
- A root output directory, eg “bazel-out”
- A configuration mnemonic, eg “k8-fastbuild”
- An output category, eg “genfiles”

