Versions in this module Expand all Collapse all v1 v1.2.2 Jun 20, 2018 Changes in this version + const WhiteoutLinkDir + const WhiteoutMetaPrefix + const WhiteoutOpaqueDir + const WhiteoutPrefix + func CanonicalTarNameForPath(p string) (string, error) + func CompressStream(dest io.Writer, compression Compression) (io.WriteCloser, error) + func FileInfoHeader(name string, fi os.FileInfo, link string) (*tar.Header, error) + func ReadSecurityXattrToTarHeader(path string, hdr *tar.Header) error + func SplitPathDirEntry(path string) (dir, base string) + func TarWithOptions(srcPath string, options *TarOptions) (io.ReadCloser, error) + type Compression int + const Bzip2 + const Gzip + const Uncompressed + const Xz + func (compression *Compression) Extension() string + type TarOptions struct + ChownOpts *idtools.IDPair + Compression Compression + ExcludePatterns []string + GIDMaps []idtools.IDMap + InUserNS bool + IncludeFiles []string + IncludeSourceDir bool + NoLchown bool + NoOverwriteDirNonDir bool + RebaseNames map[string]string + UIDMaps []idtools.IDMap + WhiteoutFormat WhiteoutFormat + type WhiteoutFormat int + const AUFSWhiteoutFormat + const OverlayWhiteoutFormat