Documentation ¶
Overview ¶
Package tarfs implements the fs.FS interface over a tar archive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS implements a filesystem abstraction over an io.ReaderAt containing a tar.
func New ¶
New creates an FS from the tar contained in the ReaderAt.
The ReaderAt must remain valid for the entire life of the returned FS and any FSes returned by Sub.
Click to show internal directories.
Click to hide internal directories.