Commit Graph

7 Commits (e6c96c80fd1dc0e77dca20e71cd0fcdd66cb17fe)

Author SHA1 Message Date
CrazyMax 54b8ff2fc8
go fmt: add //go:build
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-28 13:26:43 +02:00
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
Ian Campbell 8b69292087 Bump github.com/tonistiigi/fsutil dependency to f567071bed24
7e391b0e78...f567071bed

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-10-03 11:46:35 +01:00
Tobias Klauser aa76669a24 contenthash: use Major/Minor from golang.org/x/sys/unix
Use the Major/Minor functions from golang.org/x/sys/unix instead of
locally re-implementing them. This also makes sure they work correctly
for GOOS != linux.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-11-27 11:15:06 +01:00
Sebastiaan van Stijn a08fdbdd5e
Bump tonistiigi/fsutil, and remove stevvooe/continuity
The stevvooe/continuity package moved to containerd/continuity

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-09-30 17:41:33 +02:00
Akihiro Suda 03f9eee2d0 Fix windows build
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-08-04 06:24:31 +00:00
Tonis Tiigi 2c38da5650 contenthash: initial commit
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-07-31 18:37:29 -07:00