Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶ added in v1.1.1
type FileSystem interface { http.FileSystem Exists(name string) bool }
func NewFromBzip2File ¶ added in v1.2.1
func NewFromBzip2File(tbz2File string) (FileSystem, error)
NewFromBzip2File returns an http.FileSystem that holds all the files in the tar.bz2, created from file
func NewFromFile ¶
func NewFromFile(tarFile string) (FileSystem, error)
NewFromFile returns an http.FileSystem that holds all the files in the tar, created from file
func NewFromGzipFile ¶ added in v1.2.0
func NewFromGzipFile(tgzFile string) (FileSystem, error)
NewFromGzipFile returns an http.FileSystem that holds all the files in the tar.gz, created from file
func NewFromReader ¶
func NewFromReader(reader io.Reader) (FileSystem, error)
NewFromReader returns an http.FileSystem that holds all the files in the tar, created from io.Reader
Click to show internal directories.
Click to hide internal directories.