mirror of
https://github.com/docker/cli.git
synced 2026-08-30 18:14:19 -05:00
Adds TarResource and CopyTo functions to be used for creating archives for use with the new `docker cp` behavior. Adds multiple test cases for the CopyFrom and CopyTo functions in the pkg/archive package. Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn) Upstream-commit: a74799b701f5a70e964ec528c6d731c8c93019e6 Component: engine
This code provides helper functions for dealing with archive files.