Versions in this module Expand all Collapse all v1 v1.1.1 Mar 26, 2024 v1.1.0 Mar 18, 2024 v1.0.0 Feb 19, 2024 v0 v0.0.2 Feb 19, 2024 v0.0.1 Feb 19, 2024 Changes in this version + type FileInfo struct + Data []byte + Gid int + IsDir bool + Linkname string + Mode os.FileMode + Name string + Path string + Size int64 + TypeFlag byte + Uid int + func NewFileInfoFromTarHeader(reader *tar.Reader, header *tar.Header) (*FileInfo, error) + func (info *FileInfo) Copy() *FileInfo + type FileNode struct + Children map[string]*FileNode + Info *FileInfo + Name string + Parent *FileNode + Tree *FileTree + func NewFileNode(parent *FileNode, name string, info *FileInfo) *FileNode + func (node *FileNode) AddChild(name string, info *FileInfo) *FileNode + func (node *FileNode) Copy(parent *FileNode) *FileNode + type FileTree struct + LayerName string + Root *FileNode + WhiteoutFiles []*WhiteoutFile + func NewFileTree() *FileTree + func (tree *FileTree) AddNode(info *FileInfo) error + func (tree *FileTree) FindNodeFromPath(pathStr string) *FileNode + type WhiteoutFile struct + FileInfo *FileInfo + Name string + OriginalName string + WhiteoutType WhiteoutType + func NewWhiteoutFile(name string, info *FileInfo) *WhiteoutFile + type WhiteoutType int + const WhiteoutTypeBasic + const WhiteoutTypeLinkDir + const WhiteoutTypeOpaqueDir + const WhiteoutTypeOtherMetaPrefix