Documentation
¶
Overview ¶
Package tarzst packs file trees into deterministic zstd compressed tars and serves them as read only file systems
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Tar of the files in path order with zero times and owners, compressed by a single threaded zstd encoder
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS serves an embedded archive like embed.FS, read only files and synthesized directories under an optional root
func NewFS ¶
File system over archive bytes decoded on first use, every path placed under root when root is set
type File ¶
One regular file of a tree with its slash path, bytes, digest and permission bits
func Collect ¶
Every regular file under root in path order, refusing symlinks and other irregular entries
func Decode ¶
Regular files of an archive in path order, refusing entries that are not regular files or escape the tree
func ParseManifest ¶
Parses manifest text back into path ordered records without file bytes