Documentation ¶
Index ¶
- Constants
- func HeaderToFileInfo(h *tar.Header) *os.FileInfo
- type MemFile
- type MemTree
- type MemTreeFileSystem
- type MultiZipFs
- func (me *MultiZipFs) Create(name string, flags uint32, mode uint32) (file fuse.File, code fuse.Status)
- func (me *MultiZipFs) GetAttr(name string) (*os.FileInfo, fuse.Status)
- func (me *MultiZipFs) Mount(connector *fuse.FileSystemConnector) fuse.Status
- func (me *MultiZipFs) Open(name string, flags uint32) (file fuse.File, code fuse.Status)
- func (me *MultiZipFs) OpenDir(name string) (stream chan fuse.DirEntry, code fuse.Status)
- func (me *MultiZipFs) Unlink(name string) (code fuse.Status)
- type TarFile
- type ZipFile
Constants ¶
View Source
const (
CONFIG_PREFIX = "config/"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MemTree ¶
type MemTree struct {
// contains filtered or unexported fields
}
func NewMemTree ¶
func NewMemTree() *MemTree
func NewTarCompressedTree ¶
func NewTarTree ¶
func NewZipTree ¶
NewZipTree creates a new file-system for the zip file named name.
type MemTreeFileSystem ¶
type MemTreeFileSystem struct { fuse.DefaultFileSystem // contains filtered or unexported fields }
func NewArchiveFileSystem ¶
func NewArchiveFileSystem(name string) (fs *MemTreeFileSystem, err os.Error)
func NewMemTreeFileSystem ¶
func NewMemTreeFileSystem(t *MemTree) *MemTreeFileSystem
type MultiZipFs ¶
type MultiZipFs struct { Connector *fuse.FileSystemConnector fuse.DefaultFileSystem // contains filtered or unexported fields }
MultiZipFs is a path filesystem that mounts zipfiles. It needs a reference to the FileSystemConnector to be able to execute mounts.
func NewMultiZipFs ¶
func NewMultiZipFs() *MultiZipFs
func (*MultiZipFs) Mount ¶
func (me *MultiZipFs) Mount(connector *fuse.FileSystemConnector) fuse.Status
Click to show internal directories.
Click to hide internal directories.