Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TarFS ¶
type TarFS struct {
// contains filtered or unexported fields
}
TarFS represents a file system (an fs.FS) based on a tar archive.
func (*TarFS) Open ¶
Open opens the named file. When Open returns an error, it should be of type *PathError with the Op field set to "open", the Path field set to name, and the Err field describing the problem.
Open should reject attempts to open names that do not satisfy ValidPath(name), returning a *PathError with Err set to ErrInvalid or ErrNotExist.
Click to show internal directories.
Click to hide internal directories.