package
3.4.7
Repository: https://github.com/containers/podman.git
Documentation: pkg.go.dev

# Functions

EncodeFileInfo serializes the specified FileInfo as a base64 encoded JSON payload.
ExtractFileInfoFromHeader extracts a base64 encoded JSON payload of a FileInfo in the http header.
ParseSourceAndDestination parses the source and destination input into a possibly specified container and path.
PreserveBasePath makes sure that the original base path (e.g., "/" or "./") is preserved.
ResolveHostPath resolves the specified, possibly relative, path on the host.

# Constants

XDockerContainerPathStatHeader is the *key* in http headers pointing to the base64 encoded JSON payload of stating a path in a container.

# Variables

ErrENOENT mimics the stdlib's ErrENOENT and can be used to implement custom logic while preserving the user-visible error message.

# Type aliases

FileInfo describes a file or directory and is returned by (*CopyItem).Stat().