Documentation ¶
Index ¶
- Constants
- func HeaderToFileInfo(out *fuse.Attr, h *tar.Header)
- func NewTarCompressedTree(name string, format string) (map[string]MemFile, error)
- func NewTarTree(r io.Reader) map[string]MemFile
- func NewZipTree(name string) (map[string]MemFile, error)
- type MemFile
- type MemTreeFs
- type MultiZipFs
- func (fs *MultiZipFs) GetAttr(name string, context *fuse.Context) (*fuse.Attr, fuse.Status)
- func (fs *MultiZipFs) OnMount(nodeFs *pathfs.PathNodeFs)
- func (fs *MultiZipFs) OpenDir(name string, context *fuse.Context) (stream []fuse.DirEntry, code fuse.Status)
- func (fs *MultiZipFs) Readlink(path string, context *fuse.Context) (val string, code fuse.Status)
- func (fs *MultiZipFs) String() string
- func (fs *MultiZipFs) Symlink(value string, linkName string, context *fuse.Context) (code fuse.Status)
- func (fs *MultiZipFs) Unlink(name string, context *fuse.Context) (code fuse.Status)
- type TarFile
- type ZipFile
Constants ¶
View Source
const (
CONFIG_PREFIX = "config/"
)
Variables ¶
This section is empty.
Functions ¶
func NewTarCompressedTree ¶
Types ¶
type MemTreeFs ¶
type MemTreeFs struct { nodefs.FileSystem Name string // contains filtered or unexported fields }
MemTreeFs creates a tree of internal Inodes. Since the tree is loaded in memory completely at startup, it does not need to inode discovery through Lookup() at serve time.
func NewArchiveFileSystem ¶
func NewMemTreeFs ¶
func NewMemTreeFs() *MemTreeFs
func (*MemTreeFs) OnMount ¶
func (fs *MemTreeFs) OnMount(conn *nodefs.FileSystemConnector)
type MultiZipFs ¶
type MultiZipFs struct { pathfs.FileSystem // contains filtered or unexported fields }
MultiZipFs is a path filesystem that mounts zipfiles.
func NewMultiZipFs ¶
func NewMultiZipFs() *MultiZipFs
func (*MultiZipFs) OnMount ¶
func (fs *MultiZipFs) OnMount(nodeFs *pathfs.PathNodeFs)
func (*MultiZipFs) String ¶
func (fs *MultiZipFs) String() string
Click to show internal directories.
Click to hide internal directories.