Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File is a struct that represent a Reader of a tar file it is created by the NewFile function.
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is a struct that describes a tar filesystem. It should be created with the NewFile function.
func NewFS ¶
func NewFS(path string) (*FileSystem, error)
NewFS returns a new tar FileSystem object from path to a tar archive. The returned object implements the FileSystem interface in https://godoc.org/github.com/kr/fs#FileSystem. It can be used by the fs.WalkFS function. It also enables reading of a specific fakeFile.
func (*FileSystem) Join ¶
func (f *FileSystem) Join(elem ...string) string
Join implements the FileSystem Join method,
Click to show internal directories.
Click to hide internal directories.