Versions in this module Expand all Collapse all v0 v0.4.5 Dec 19, 2024 Changes in this version + func Mount(source string, mountpoint string, fstype *string, options *string) error + func MountFn(VFS *vfs.VFS, mountpoint string, opt *mountlib.Options) (<-chan error, func() error, error) + func UmountByDevice(device string) error + func UmountByMountPoint(mountpoint string) error + type Dir struct + func (d *Dir) Attr(ctx context.Context, a *fuse.Attr) (err error) + func (d *Dir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (node fusefs.Node, handle fusefs.Handle, err error) + func (d *Dir) Fsync(ctx context.Context, req *fuse.FsyncRequest) (err error) + func (d *Dir) Link(ctx context.Context, req *fuse.LinkRequest, old fusefs.Node) (newNode fusefs.Node, err error) + func (d *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.LookupResponse) (node fusefs.Node, err error) + func (d *Dir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (node fusefs.Node, err error) + func (d *Dir) Mknod(ctx context.Context, req *fuse.MknodRequest) (node fusefs.Node, err error) + func (d *Dir) ReadDirAll(ctx context.Context) (dirents []fuse.Dirent, err error) + func (d *Dir) Remove(ctx context.Context, req *fuse.RemoveRequest) (err error) + func (d *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDir fusefs.Node) (err error) + func (d *Dir) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *fuse.SetattrResponse) (err error) + type FS struct + func NewFS(VFS *vfs.VFS, opt *mountlib.Options) *FS + func (f *FS) Root() (node fusefs.Node, err error) + type File struct + func (f *File) Attr(ctx context.Context, a *fuse.Attr) (err error) + func (f *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) (err error) + func (f *File) Getxattr(ctx context.Context, req *fuse.GetxattrRequest, resp *fuse.GetxattrResponse) error + func (f *File) Listxattr(ctx context.Context, req *fuse.ListxattrRequest, resp *fuse.ListxattrResponse) error + func (f *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fh fusefs.Handle, err error) + func (f *File) Removexattr(ctx context.Context, req *fuse.RemovexattrRequest) error + func (f *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *fuse.SetattrResponse) (err error) + func (f *File) Setxattr(ctx context.Context, req *fuse.SetxattrRequest) error + type FileHandle struct + func (fh *FileHandle) Flush(ctx context.Context, req *fuse.FlushRequest) (err error) + func (fh *FileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) (err error) + func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) (err error) + func (fh *FileHandle) Write(ctx context.Context, req *fuse.WriteRequest, resp *fuse.WriteResponse) (err error)