mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-28 13:25:42 +00:00
e6844381f0
In `ApplyLayer` and `Untar`, the stream is magically decompressed. Since
this is not able to be toggled, rather than break this ./pkg/ API, add
an `ApplyUncompressedLayer` and `UntarUncompressed` that does not
magically decompress the layer stream.
Signed-off-by: Vincent Batts <vbatts@redhat.com>
(cherry picked from commit 56bf275e32)
This code provides helper functions for dealing with archive files.