Documentation ¶
Index ¶
- type DynamicDir
- func (d *DynamicDir) Attr(ctx context.Context, a *fuse.Attr) error
- func (d *DynamicDir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (fs.Node, fs.Handle, error)
- func (d *DynamicDir) Lookup(ctx context.Context, name string) (fs.Node, error)
- func (d *DynamicDir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, error)
- func (d *DynamicDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)
- func (d *DynamicDir) Remove(ctx context.Context, req *fuse.RemoveRequest) error
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) Create ¶
func (d *DynamicDir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (fs.Node, fs.Handle, error)
func (*DynamicDir) Mkdir ¶
func (d *DynamicDir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, error)
func (*DynamicDir) ReadDirAll ¶
func (*DynamicDir) Remove ¶
func (d *DynamicDir) Remove(ctx context.Context, req *fuse.RemoveRequest) error
Click to show internal directories.
Click to hide internal directories.