buildkit/cache/contenthash
Paul "TBBle" Hampson 6c824d68f1 Use filesystem-supplied modes for checksumming content
The existing code was spuriously failing unit tests, because it was
stripping non-permission bits off the file mode.

On examination, the behaviour was inherited from similar code in
moby/moby, which was intended to affect the resulting filemodes inside
a Linux-based container built from Windows. However, this code path does
have that effect in BuildKit as we are only calculating checksums here.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2020-07-29 02:50:24 +10:00
..
checksum.go Don't silently ignore failed wildcard expansion 2020-07-29 02:50:20 +10:00
checksum.pb.go vendor: update containerd (and various packages) 2020-02-28 10:24:10 +09:00
checksum.proto contenthash: add lru for context objects 2017-07-31 18:39:29 -07:00
checksum_test.go Don't silently ignore failed wildcard expansion 2020-07-29 02:50:20 +10:00
filehash.go Use filesystem-supplied modes for checksumming content 2020-07-29 02:50:24 +10:00
filehash_unix.go Use filesystem-supplied modes for checksumming content 2020-07-29 02:50:24 +10:00
filehash_windows.go Use filesystem-supplied modes for checksumming content 2020-07-29 02:50:24 +10:00
generate.go contenthash: add lru for context objects 2017-07-31 18:39:29 -07:00
path.go upgrade errors checks to Is() 2020-04-18 22:53:38 -07:00
tarsum.go contenthash: avoid deprecated Xattrs header 2020-07-19 09:28:36 -07:00