Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Wrap ¶
func Wrap(inner filesystem.FileSystem, cache gcache.Cache, cachePrefix string) filesystem.FileSystem
Wrap wraps a filesystem with a tar or tar.gz file opener so it a tar or tar.gz file is present in a filesystem, it's inner content can be browsed as a filesystem
Types ¶
type FileSystem ¶
func New ¶
func New(file filesystem.File) (*FileSystem, error)
func (*FileSystem) Close ¶
func (f *FileSystem) Close() error
func (*FileSystem) Join ¶
func (f *FileSystem) Join(elem ...string) string
Join implements the FileSystem Join method,
func (*FileSystem) Lstat ¶
func (f *FileSystem) Lstat(name string) (os.FileInfo, error)
Lstat implements the FileSystem Lstat method, it returns fileinfo for a given path
func (*FileSystem) Open ¶
func (f *FileSystem) Open(name string) (filesystem.File, error)
Click to show internal directories.
Click to hide internal directories.