Documentation
¶
Index ¶
- Constants
- type Config
- type Dir
- func (d *Dir) Attr(ctx context.Context, atr *fuse.Attr) (err error)
- func (d *Dir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (node fs.Node, h fs.Handle, err error)
- func (d *Dir) Lookup(ctx context.Context, name string) (node fs.Node, err error)
- func (d *Dir) ReadDirAll(ctx context.Context) (paths []fuse.Dirent, err error)
- type FS
- type File
- type Handle
- type IO
Constants ¶
View Source
const ( Name = "guardian" Type = "guardian" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type Handle ¶
func (*Handle) Read ¶
func (h *Handle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) (err error)
func (*Handle) Write ¶
func (h *Handle) Write(ctx context.Context, req *fuse.WriteRequest, resp *fuse.WriteResponse) (err error)
type IO ¶
type IO interface {
io.WriteSeeker
Sync() (err error)
}
Click to show internal directories.
Click to hide internal directories.