containerd/archive
Akihiro Suda a22f0a4c3e
archive: set WithModTimeUpperBound when WithSourceDateEpoch is set
WithModTimeUpperBound sets the upper bound value of the ModTime property
of the tar entry structs.

WithSourceDateEpoch now implies WithModTimeUpperBound too,
in addition to WithWhiteoutTime.

For moby/buildkit issue 3296

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-22 22:21:44 +09:00
..
compression Drop deprecated ioutil 2022-07-23 08:36:20 -07:00
tartest Fix annotation typo error 2018-12-14 23:18:42 +08:00
issues_test.go Add NoSameOwner option when unpacking tars 2022-09-09 17:07:26 -07:00
link_default.go archive: use Linkat on FreeBSD for hardlinks 2022-06-09 18:54:09 -07:00
link_freebsd.go archive: use Linkat on FreeBSD for hardlinks 2022-06-09 18:54:09 -07:00
tar_freebsd.go Remove redundant build tags 2021-08-05 22:27:46 -07:00
tar_linux_test.go test: use T.TempDir to create temporary test directory 2022-03-15 14:03:50 +08:00
tar_mostunix.go Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
tar_opts_linux.go Remove redundant build tags 2021-08-05 22:27:46 -07:00
tar_opts_windows.go docs: rename main to master 2021-08-10 09:42:16 -07:00
tar_opts.go archive: set WithModTimeUpperBound when WithSourceDateEpoch is set 2022-11-22 22:21:44 +09:00
tar_test.go archive: set WithModTimeUpperBound when WithSourceDateEpoch is set 2022-11-22 22:21:44 +09:00
tar_unix.go remove unneeded nolint-comments (nolintlint), disable deprecated linters 2022-10-12 14:41:01 +02:00
tar_windows.go Merge pull request #7344 from thaJeztah/archive_cleanup 2022-08-30 09:18:18 -07:00
tar.go archive: set WithModTimeUpperBound when WithSourceDateEpoch is set 2022-11-22 22:21:44 +09:00
time_unix.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
time_windows.go archive: windows: chtimes(): remove redundant conversion 2022-10-07 19:38:56 +02:00
time.go Licence header added 2018-02-19 10:32:26 +09:00