vfs

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2012 License: BSD-3-Clause, GPL-3.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Atoui

func Atoui(str string) (uint, error)

func Uitoa

func Uitoa(ui uint) string

Types

type FuseVfs

type FuseVfs struct {
	fuse.DefaultFileSystem
	// contains filtered or unexported fields
}

func MountVfs

func MountVfs(databasePath string, mountPath string) (*FuseVfs, error)

func (FuseVfs) GetAttr

func (vfs FuseVfs) GetAttr(name string, context *fuse.Context) (*fuse.Attr, fuse.Status)

func (FuseVfs) Loop

func (vfs FuseVfs) Loop()

func (FuseVfs) Open added in v0.0.8

func (vfs FuseVfs) Open(name string, flags uint32, context *fuse.Context) (fuse.File, fuse.Status)

func (FuseVfs) OpenDir

func (vfs FuseVfs) OpenDir(name string, context *fuse.Context) ([]fuse.DirEntry, fuse.Status)
func (vfs FuseVfs) Readlink(name string, context *fuse.Context) (string, fuse.Status)
func (vfs FuseVfs) Unlink(name string, context *fuse.Context) fuse.Status

func (FuseVfs) Unmount

func (vfs FuseVfs) Unmount()

type Mount added in v0.0.8

type Mount struct {
	DatabasePath string
	MountPath    string
}

func GetMountTable added in v0.0.8

func GetMountTable() ([]Mount, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL