moby--moby/graphdriver/aufs
Alexander Larsson f198ee525a Properly close archives
All archive that are created from somewhere generally have to be closed, because
at some point there is a file or a pipe or something that backs them. So, we
make archive.Archive a ReadCloser. However, code consuming archives does not
typically close them so we add an archive.ArchiveReader and use that when we're
only reading.

We then change all the Tar/Archive places to create ReadClosers, and to properly
close them everywhere.

As an added bonus we can use ReadCloserWrapper rather than EofReader in several places,
which is good as EofReader doesn't always work right. For instance, many compression
schemes like gzip knows it is EOF before having read the EOF from the stream, so the
EofCloser never sees an EOF.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-02-14 13:46:17 +01:00
..
aufs.go Properly close archives 2014-02-14 13:46:17 +01:00
aufs_test.go Increase max image depth to 127 2013-11-26 17:04:55 -08:00
dirs.go Move all drivers to the same subdir graphdriver 2013-11-15 15:48:24 -08:00
migrate.go Handle image metadata when drivers are switched 2013-11-20 10:31:51 -08:00
mount.go Fix unmount issues 2013-12-18 15:24:08 -08:00
mount_linux.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
mount_unsupported.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00