Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add internal Podman.cp() helper
Add a simple helper function to the Podman class to wrap the "podman cp" behaviour. There are a couple of things added on top of it: - to ease its usage, in addition to the actual container ID, it is possible to specify "$C" (as literal string) as ID, which will be replaced dynamically by the right ID - any other ID is rejected, as the helper is supposed to copy only for the container represented by the specific class instance Signed-off-by: Pino Toscano <[email protected]>
- Loading branch information