Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeaderToFileInfo ¶
HeaderToFileInfo fills a fuse.Attr struct from a tar.Header.
func NewArchiveFileSystem ¶
func NewArchiveFileSystem(name string) (root fs.InodeEmbedder, err error)
func NewTarCompressedTree ¶
func NewTarCompressedTree(name string, format string) (fs.InodeEmbedder, error)
NewTarCompressedTree creates the tree of a tar file as a FUSE InodeEmbedder. The inode can either be mounted as the root of a FUSE mount, or added as a child to some other FUSE tree.
func NewZipTree ¶
func NewZipTree(name string) (fs.InodeEmbedder, error)
NewZipTree creates a new file-system for the zip file named name.
Types ¶
type MultiZipFs ¶
MultiZipFs is a filesystem that mounts zipfiles.
func (*MultiZipFs) OnAdd ¶
func (root *MultiZipFs) OnAdd(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.