vfs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2013 License: BSD-3-Clause, GPL-3.0, MIT Imports: 11 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, allowOther bool) (*FuseVfs, error)

func (FuseVfs) Access added in v0.1.0

func (vfs FuseVfs) Access(name string, mode uint32, context *fuse.Context) fuse.Status

func (FuseVfs) Chmod added in v0.1.0

func (vfs FuseVfs) Chmod(name string, mode uint32, context *fuse.Context) fuse.Status

func (FuseVfs) Chown added in v0.1.0

func (vfs FuseVfs) Chown(name string, uid uint32, gid uint32, context *fuse.Context) fuse.Status

func (FuseVfs) Create added in v0.1.0

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

func (FuseVfs) GetAttr

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

func (FuseVfs) GetXAttr added in v0.1.0

func (vfs FuseVfs) GetXAttr(name string, attr string, context *fuse.Context) ([]byte, fuse.Status)
func (vfs FuseVfs) Link(oldName string, newName string, context *fuse.Context) fuse.Status

func (FuseVfs) ListXAttr added in v0.1.0

func (vfs FuseVfs) ListXAttr(name string, context *fuse.Context) ([]string, fuse.Status)

func (FuseVfs) Loop

func (vfs FuseVfs) Loop()

func (FuseVfs) Mkdir added in v0.1.0

func (vfs FuseVfs) Mkdir(name string, mode uint32, context *fuse.Context) fuse.Status

func (FuseVfs) Mknod added in v0.1.0

func (vfs FuseVfs) Mknod(name string, mode uint32, dev uint32, context *fuse.Context) fuse.Status

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 (FuseVfs) RemoveXAttr added in v0.1.0

func (vfs FuseVfs) RemoveXAttr(name string, attr string, context *fuse.Context) fuse.Status

func (FuseVfs) Rename added in v0.1.0

func (vfs FuseVfs) Rename(oldName string, newName string, context *fuse.Context) fuse.Status

func (FuseVfs) Rmdir added in v0.1.0

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

func (FuseVfs) SetXAttr added in v0.1.0

func (vfs FuseVfs) SetXAttr(name string, attr string, data []byte, flags int, context *fuse.Context) fuse.Status

func (FuseVfs) StatFs added in v0.1.0

func (vfs FuseVfs) StatFs(name string) *fuse.StatfsOut
func (vfs FuseVfs) Symlink(value string, linkName string, context *fuse.Context) fuse.Status

func (FuseVfs) Truncate added in v0.1.0

func (vfs FuseVfs) Truncate(name string, offset uint64, context *fuse.Context) 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