spiegel_podman/cmd/podman/containers
Valentin Rothberg 31b11b5cd6 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>
2021-03-09 09:02:14 +01:00
..
attach.go bump go module to v3 2021-02-22 09:03:51 +01:00
checkpoint.go bump go module to v3 2021-02-22 09:03:51 +01:00
cleanup.go bump go module to v3 2021-02-22 09:03:51 +01:00
commit.go bump go module to v3 2021-02-22 09:03:51 +01:00
container.go bump go module to v3 2021-02-22 09:03:51 +01:00
cp.go podman cp: fix copying to a non-existent dir 2021-03-09 09:02:14 +01:00
create.go Enable no_hosts from containers.conf 2021-02-26 06:37:48 -05:00
diff.go bump go module to v3 2021-02-22 09:03:51 +01:00
exec.go bump go module to v3 2021-02-22 09:03:51 +01:00
exists.go bump go module to v3 2021-02-22 09:03:51 +01:00
export.go bump go module to v3 2021-02-22 09:03:51 +01:00
init.go bump go module to v3 2021-02-22 09:03:51 +01:00
inspect.go bump go module to v3 2021-02-22 09:03:51 +01:00
kill.go bump go module to v3 2021-02-22 09:03:51 +01:00
list.go bump go module to v3 2021-02-22 09:03:51 +01:00
logs.go bump go module to v3 2021-02-22 09:03:51 +01:00
mount.go bump go module to v3 2021-02-22 09:03:51 +01:00
pause.go bump go module to v3 2021-02-22 09:03:51 +01:00
port.go bump go module to v3 2021-02-22 09:03:51 +01:00
prune.go bump go module to v3 2021-02-22 09:03:51 +01:00
ps.go bump go module to v3 2021-02-22 09:03:51 +01:00
rename.go bump go module to v3 2021-02-22 09:03:51 +01:00
restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
restore.go bump go module to v3 2021-02-22 09:03:51 +01:00
rm.go bump go module to v3 2021-02-22 09:03:51 +01:00
run.go bump go module to v3 2021-02-22 09:03:51 +01:00
runlabel.go bump go module to v3 2021-02-22 09:03:51 +01:00
start.go bump go module to v3 2021-02-22 09:03:51 +01:00
stats.go bump go module to v3 2021-02-22 09:03:51 +01:00
stop.go bump go module to v3 2021-02-22 09:03:51 +01:00
top.go bump go module to v3 2021-02-22 09:03:51 +01:00
unmount.go bump go module to v3 2021-02-22 09:03:51 +01:00
unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go bump go module to v3 2021-02-22 09:03:51 +01:00