buildkit/cache
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
..
blobs lint: enable golint 2020-07-19 09:28:24 -07:00
contenthash Use filesystem-supplied modes for checksumming content 2020-07-29 02:50:24 +10:00
metadata solver: support no-cache for exec cache mounts 2019-07-26 14:42:32 -07:00
remotecache lint: add misspell and unused 2020-07-18 08:13:57 -07:00
util cache: error tracing on cache importer 2019-06-06 21:15:21 -07:00
manager.go lint: enable more linters 2020-07-19 09:28:36 -07:00
manager_test.go Skip tests on Windows that attempt to bind-mount read-only 2020-07-28 18:07:20 +10:00
metadata.go leaseutil: mark temporary leases with timestamps 2019-10-16 10:35:50 -07:00
migrate_v2.go cache: avoid snapshot migration on shallow refs 2020-06-12 17:59:30 -07:00
refs.go lint: enable golint 2020-07-19 09:28:24 -07:00