1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/archive
Josh Hawn dee6b481fe Refactor use of graphdriver.Differ
Some graphdrivers are Differs and type assertions are made
in various places throughout the project. Differ offers some
convenience in generating/applying diffs of filesystem layers
but for most graphdrivers another code path is taken.

This patch brings all of the logic related to filesystem
diffs in one place, and simplifies the implementation of some
common types like Image, Daemon, and Container.

Signed-off-by: Josh Hawn <josh.hawn@docker.com>
2014-09-16 15:10:32 -07:00
..
testdata Add test for invalid tarball read 2014-05-15 15:45:40 -07:00
archive.go archive: use pooled bufio readers and writers 2014-09-03 11:37:03 +03:00
archive_test.go Use only unavailable image when load from Tarball 2014-08-08 20:30:38 +09:00
changes.go Refactor use of graphdriver.Differ 2014-09-16 15:10:32 -07:00
changes_test.go Don't assume the file system has sub-second precision timestamp 2014-04-05 10:30:37 +09:00
diff.go archive: use pooled bufio readers and writers 2014-09-03 11:37:03 +03:00
MAINTAINERS archive: add unclejack to MAINTAINERS 2014-07-25 02:07:40 +03:00
README.md Add readme file for the archive directory 2014-05-17 17:48:07 +00:00
time_linux.go UTIME_OMIT is only available on Linux 2014-04-29 09:08:33 +09:00
time_unsupported.go UTIME_OMIT is only available on Linux 2014-04-29 09:08:33 +09:00
wrap.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00

This code provides helper functions for dealing with archive files.

TODO: Move this to either pkg or (if not possible) to utils.