package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

FileInfoHeader creates a partially-populated Header from fi.
NewReader creates a new Reader reading from r.
NewWriter creates a new Writer writing to w.

# Constants

FormatGNU represents the GNU header format.
FormatPAX represents the PAX header format defined in POSIX.1-2001.
FormatUnknown indicates that the format is unknown.
FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
Block device node.
Character device node.
Type '7' is reserved.
Directory.
FIFO node.
Type flags for Header.Typeflag.
Types 'L' and 'K' are used by the GNU format for a meta file used to store the path or link name for the next file.
Type 'S' indicates a sparse file in the GNU format.
Hard link.
Type '0' indicates a regular file.
Deprecated: Use TypeReg instead.
Symbolic link.
Type 'g' is used by the PAX format to store key-value records that are relevant to all subsequent files.
Type 'x' is used by the PAX format to store key-value records that are only relevant to the next file.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

A Header represents a single header in a tar archive.
Reader provides sequential access to the contents of a tar archive.
Writer provides sequential writing of a tar archive.

# Type aliases

Format represents the tar archive format.