fuse

package
v3.38.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(mountSrc, mountDst string, opts []string)

Types

type Fs

type Fs struct {
	RootFolder string
	fuse.FileSystemBase
}

func (*Fs) Access

func (fs *Fs) Access(path string, mask uint32) int

func (*Fs) Chmod

func (fs *Fs) Chmod(path string, mode uint32) int

func (*Fs) Chown

func (fs *Fs) Chown(path string, uid uint32, gid uint32) int

func (*Fs) Create

func (fs *Fs) Create(path string, flags int, mode uint32) (int, uint64)

func (*Fs) Destroy

func (fs *Fs) Destroy()

func (*Fs) Flush

func (fs *Fs) Flush(path string, fh uint64) int

func (*Fs) Fsync

func (fs *Fs) Fsync(path string, datasync bool, fh uint64) int

func (*Fs) Fsyncdir

func (fs *Fs) Fsyncdir(path string, datasync bool, fh uint64) int

func (*Fs) Getattr

func (fs *Fs) Getattr(path string, stat *fuse.Stat_t, fh uint64) int

func (*Fs) Getxattr

func (fs *Fs) Getxattr(path string, name string) (int, []byte)

func (*Fs) Init

func (fs *Fs) Init()
func (fs *Fs) Link(oldpath string, newpath string) int

func (*Fs) Listxattr

func (fs *Fs) Listxattr(path string, fill func(name string) bool) int

func (*Fs) Mkdir

func (fs *Fs) Mkdir(path string, mode uint32) int

func (*Fs) Mknod

func (fs *Fs) Mknod(path string, mode uint32, dev uint64) int

func (*Fs) Open

func (fs *Fs) Open(path string, flags int) (int, uint64)

func (*Fs) Opendir

func (fs *Fs) Opendir(path string) (int, uint64)

func (*Fs) Read

func (fs *Fs) Read(path string, buff []byte, ofst int64, fh uint64) int

func (*Fs) Readdir

func (fs *Fs) Readdir(path string, fill func(name string, stat *fuse.Stat_t, ofst int64) bool, ofst int64, fh uint64) int
func (fs *Fs) Readlink(path string) (int, string)

func (*Fs) Release

func (fs *Fs) Release(path string, fh uint64) int

func (*Fs) Releasedir

func (fs *Fs) Releasedir(path string, fh uint64) int

func (*Fs) Removexattr

func (fs *Fs) Removexattr(path string, name string) int

func (*Fs) Rename

func (fs *Fs) Rename(oldpath string, newpath string) int

func (*Fs) Rmdir

func (fs *Fs) Rmdir(path string) int

func (*Fs) Setxattr

func (fs *Fs) Setxattr(path string, name string, value []byte, flags int) int

func (*Fs) Statfs

func (fs *Fs) Statfs(path string, stat *fuse.Statfs_t) int
func (fs *Fs) Symlink(target string, newpath string) int

func (*Fs) Truncate

func (fs *Fs) Truncate(path string, size int64, fh uint64) int
func (fs *Fs) Unlink(path string) int

func (*Fs) Utimens

func (fs *Fs) Utimens(path string, tmsp []fuse.Timespec) int

func (*Fs) Write

func (fs *Fs) Write(path string, buff []byte, ofst int64, fh uint64) int

Jump to

Keyboard shortcuts

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