moby/pkg/archive
Sargun Dhillon fd35494a25 Make image (layer) downloads faster by using pigz
The Golang built-in gzip library is serialized, and fairly slow
at decompressing. It also only decompresses on demand, versus
pipelining decompression.

This change switches to using the pigz external command
for gzip decompression, as opposed to using the built-in
golang one. This code is not vendored, but will be used
if it autodetected as part of the OS.

This also switches to using context, versus a manually
managed channel to manage cancellations, and synchronization.
There is a little bit of weirdness around manually having
to cancel in the error cases.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
2018-01-16 10:49:18 -08:00
..
testdata Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
archive.go Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
archive_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
archive_linux_test.go use testify to check error for test unit test of archive package 2017-08-09 10:27:01 +08:00
archive_other.go Update archive package to support overlay whiteouts 2016-06-08 00:10:16 -07:00
archive_test.go Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
archive_unix.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
archive_unix_test.go Remove solaris files 2017-10-24 15:39:34 -04:00
archive_windows.go Remove redundant build-tags 2017-12-18 17:41:53 +01:00
archive_windows_test.go Remove unused functions from archive. 2017-06-07 11:44:33 -04:00
changes.go archive: add ChownOpts support to TarWithOptions 2017-08-23 20:52:29 +02:00
changes_linux.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
changes_other.go Windows: Docker build starting to work 2015-06-17 10:41:28 -07:00
changes_posix_test.go Remove solaris files 2017-10-24 15:39:34 -04:00
changes_test.go Remove solaris files 2017-10-24 15:39:34 -04:00
changes_unix.go Add unconvert linter 2017-08-24 15:08:31 -04:00
changes_windows.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
copy.go Merge pull request #31993 from dccurtis/issue-31816 2017-09-19 10:54:53 -07:00
copy_unix.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
copy_unix_test.go use testify to check error for test unit test of archive package 2017-08-09 10:27:01 +08:00
copy_windows.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
diff.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
diff_test.go Windows CI: test-unit on pkg\archive part 2 2016-02-12 15:40:41 -08:00
example_changes.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
README.md Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
time_linux.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
time_unsupported.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
utils_test.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
whiteouts.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
wrap.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
wrap_test.go use testify to check error for test unit test of archive package 2017-08-09 10:27:01 +08:00

This code provides helper functions for dealing with archive files.