# Functions
CopyDetachable is similar to io.Copy but support a detach key sequence to break out.
ExecCmd executes a command with args and returns its output as a string along with an error, if any.
ExecCmdWithStdStreams execute a command with the specified standard streams.
RunUnderSystemdScope adds the specified pid to a systemd scope.
StatusToExitCode converts wait status code to an exit code.
Tar creates a tarball from source and returns a readcloser of it.
TarToFilesystem creates a tarball from source and writes to an os.file provided.
UntarToFileSystem untars an os.file of a tarball to a destination in the filesystem.
# Variables
ErrDetach is an error indicating that the user manually detached from the container.