summaryrefslogtreecommitdiff
path: root/libpod/common
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-03-05 15:57:51 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-03-09 09:02:14 +0100
commit31b11b5cd62093d86891d32e0912661814d6b78b (patch)
tree85be5b57026db8b8e1cf4b867b2c4b7c557e359d /libpod/common
parenta61d70cf8ef8666be87758dd3875a01ccdcc4c53 (diff)
downloadpodman-31b11b5cd62093d86891d32e0912661814d6b78b.tar.gz
podman-31b11b5cd62093d86891d32e0912661814d6b78b.tar.bz2
podman-31b11b5cd62093d86891d32e0912661814d6b78b.zip
podman cp: fix copying to a non-existent dir
Copy is full of perils. Some of them are the nuances when copying directories. Who would have thought that * cp dir foo * cp dir/ foo * cp dir/. foo are all supposed to yield the same result when foo does not exist. `podman cp` now supports all three notations, which required to massage the front-end code in `cmd/podman` a bit. The tests have been extended and partially rewritten to test container->host and host->container copy operations. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'libpod/common')
0 files changed, 0 insertions, 0 deletions