dyndirfuse

package
v0.0.0-...-ff95916 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicDir

type DynamicDir struct {
	Fields    map[string]interface{}
	CacheSize int
	List      func(context.Context, func(string, fuse.DirentType)) error
	Get       func(context.Context, string) (fs.Node, fuse.DirentType, bool, error)
	Delete    func(context.Context, string, bool) error
	CreateDir func(context.Context, string) error
	// contains filtered or unexported fields
}

func (*DynamicDir) Attr

func (d *DynamicDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*DynamicDir) Create

func (d *DynamicDir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (fs.Node, fs.Handle, error)

func (*DynamicDir) Lookup

func (d *DynamicDir) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*DynamicDir) Mkdir

func (d *DynamicDir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, error)

func (*DynamicDir) ReadDirAll

func (d *DynamicDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

func (*DynamicDir) Remove

func (d *DynamicDir) Remove(ctx context.Context, req *fuse.RemoveRequest) error

Jump to

Keyboard shortcuts

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