# Functions
CanonicalTarNameForPath returns platform-specific filepath to canonical posix-style path for tar archival.
CompressStream compresses the dest with specified compression algorithm.
FileInfoHeader creates a populated Header from fi.
ReadSecurityXattrToTarHeader reads security.capability xattr from filesystem to a tar header.
SplitPathDirEntry splits the given path between its directory name and its basename by first cleaning the path but preserves a trailing "." if the original path specified the current directory.
TarWithOptions creates an archive from the directory at `path`, only including files whose relative paths are included in `options.IncludeFiles` (if non-nil) or not in `options.ExcludePatterns`.
# Constants
AUFSWhiteoutFormat is the default format for whiteouts.
Bzip2 is bzip2 compression algorithm.
Gzip is gzip compression algorithm.
OverlayWhiteoutFormat formats whiteout according to the overlay standard.
Uncompressed represents the uncompressed.
WhiteoutLinkDir is a directory AUFS uses for storing hardlink links to other layers.
WhiteoutMetaPrefix prefix means whiteout has a special meaning and is not for removing an actual file.
WhiteoutOpaqueDir file means directory has been made opaque - meaning readdir calls to this directory do not follow to lower layers.
WhiteoutPrefix prefix means file is a whiteout.
Xz is xz compression algorithm.
# Structs
TarOptions wraps the tar options.
# Type aliases
Compression is the state represents if compressed or not.
WhiteoutFormat is the format of whiteouts unpacked.