moby/pkg/archive
Paweł Gronowski 49671250f6
c8d/commit: Don't produce an empty layer
If the diff is empty and don't produce an empty layer.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit eb56493f4e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 18:59:27 +02:00
..
testdata Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
archive.go Migrate away from things deprecated in Go 1.20 2023-02-15 12:30:32 -05:00
archive_linux.go pkg/archive: audit gosec file-traversal lints 2022-02-18 15:42:22 -05:00
archive_linux_test.go pkg/system: remove Umask() utility 2022-10-06 22:22:29 +02:00
archive_other.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
archive_test.go test(pkg/archive): add TestImpliedDirectoryPermissions 2022-09-26 11:46:01 -06:00
archive_unix.go pkg/archive: make CanonicalTarNameForPath and alias for filepath.ToSlash 2022-08-30 10:40:43 +02:00
archive_unix_test.go pkg/archive: remove tests for CanonicalTarNameForPath 2022-08-30 10:41:53 +02:00
archive_windows.go Merge pull request #44060 from thaJeztah/archive_cleanup 2022-09-21 18:01:24 +02:00
archive_windows_test.go Merge pull request #44060 from thaJeztah/archive_cleanup 2022-09-21 18:01:24 +02:00
changes.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00
changes_linux.go Update overlay2 to use naive diff for changes 2018-06-20 11:07:36 -07:00
changes_other.go pkg/archive: use filepath.WalkDir instead of filepath.Walk 2022-10-09 17:12:04 +02:00
changes_posix_test.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00
changes_test.go Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
changes_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
changes_windows.go pkg/archive fixes, and port most unit tests to Windows 2018-11-26 10:20:40 -08:00
copy.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00
copy_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
copy_unix_test.go pkg/archive: use filepath.WalkDir instead of filepath.Walk 2022-10-09 17:12:04 +02:00
copy_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
diff.go c8d/commit: Don't produce an empty layer 2023-08-23 18:59:27 +02:00
diff_test.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00
diff_unix.go pkg/system: remove Umask() utility 2022-10-06 22:22:29 +02:00
diff_windows.go pkg/system: remove Umask() utility 2022-10-06 22:22:29 +02:00
example_changes.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fuzz_test.go testing: move fuzzers over from OSS-Fuzz 2022-11-30 17:31:03 +01:00
path.go pkg/system: move CheckSystemDriveAndRemoveDriveLetter to pkg/archive 2022-11-29 17:07:48 +01:00
path_unix.go pkg/system: move CheckSystemDriveAndRemoveDriveLetter to pkg/archive 2022-11-29 17:07:48 +01:00
path_windows.go pkg/system: move CheckSystemDriveAndRemoveDriveLetter to pkg/archive 2022-11-29 17:07:48 +01:00
path_windows_test.go pkg/system: move CheckSystemDriveAndRemoveDriveLetter to pkg/archive 2022-11-29 17:07:48 +01:00
time_linux.go Various code-cleanup 2018-05-23 17:50:54 +02:00
time_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
utils_test.go pkg/archive: use filepath.WalkDir instead of filepath.Walk 2022-10-09 17:12:04 +02:00
whiteouts.go Add canonical import comment 2018-02-05 16:51:57 -05:00
wrap.go gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
wrap_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00