go-fuse: github.com/hanwen/go-fuse/zipfs Index | Files

package zipfs

import "github.com/hanwen/go-fuse/zipfs"


Package Files

multizip.go tarfs.go zipfs.go

func HeaderToFileInfo Uses

func HeaderToFileInfo(out *fuse.Attr, h *tar.Header)

HeaderToFileInfo fills a fuse.Attr struct from a tar.Header.

func NewArchiveFileSystem Uses

func NewArchiveFileSystem(name string) (root fs.InodeEmbedder, err error)

func NewTarCompressedTree Uses

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 Uses

func NewZipTree(name string) (fs.InodeEmbedder, error)

NewZipTree creates a new file-system for the zip file named name.

type MultiZipFs Uses

type MultiZipFs struct {

MultiZipFs is a filesystem that mounts zipfiles.

func (*MultiZipFs) OnAdd Uses

func (root *MultiZipFs) OnAdd(ctx context.Context)

Package zipfs imports 17 packages (graph) and is imported by 32 packages. Updated 2019-10-05. Refresh now. Tools for package owners.