Documentation ¶
Index ¶
- type FileSystem
- type FileSystemOption
- type TagDir
- func (td *TagDir) Attr(ctx context.Context, attr *fuse.Attr) error
- func (td *TagDir) Create(ctx context.Context, req *fuse.CreateRequest, res *fuse.CreateResponse) (fs.Node, fs.Handle, error)
- func (td *TagDir) Lookup(ctx context.Context, name string) (fusefs.Node, error)
- func (td *TagDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)
- func (td *TagDir) Remove(ctx context.Context, req *fuse.RemoveRequest) error
- func (td *TagDir) Rename(ctx context.Context, req *fuse.RenameRequest, newDir fusefs.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func NewFileSystem ¶
func NewFileSystem(host string, port int, opts ...FileSystemOption) (*FileSystem, error)
func (*FileSystem) Statfs ¶
func (f *FileSystem) Statfs( ctx context.Context, req *fuse.StatfsRequest, res *fuse.StatfsResponse, ) error
type FileSystemOption ¶
type FileSystemOption func(*FileSystem)
func WithFuseDebugLogs ¶
func WithFuseDebugLogs(fuseDebug bool) FileSystemOption
func WithLogger ¶
func WithLogger(logger logging.Logger) FileSystemOption
Click to show internal directories.
Click to hide internal directories.