-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Digest: Add a utility function for getting xattr names
In this PR for Bazel I am adding support for reading hashes from extended attributes: bazelbuild/bazel#11662 This can speed up Bazel's file system access, as it no longer needs to read the full file contents to compute the digest. The PR for Bazel does not set any standard for extended attribute naming. Let's go ahead and pick a naming scheme on our end. We could have also used Buildbox's "user.checksum.*", but the format of those extended attributes is different. Bazel expects binary hashes, while Buildbox uses base16 (hexadecimal) encoding.
- Loading branch information
1 parent
5abd517
commit 3662a98
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters