mirror of
https://github.com/docker/docs.git
synced 2026-04-02 01:08:53 +07: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)
This code provides helper functions for dealing with archive files.