plopfs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(cfg *config.Config) error

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func (*File) Attr

func (f *File) Attr(ctx context.Context, a *fuse.Attr) error

func (*File) Open

func (f *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fs.Handle, error)

func (*File) Read

func (f *File) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error

type PlopFS

type PlopFS struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config) (*PlopFS, error)

func (*PlopFS) Close

func (f *PlopFS) Close() error

func (*PlopFS) Root

func (f *PlopFS) Root() (fs.Node, error)

type Root

type Root struct {
	// contains filtered or unexported fields
}

func (*Root) Attr

func (r *Root) Attr(ctx context.Context, a *fuse.Attr) error

func (*Root) Lookup

func (r *Root) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.LookupResponse) (fs.Node, error)

func (*Root) ReadDirAll

func (r *Root) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

type Volume

type Volume struct {
	// contains filtered or unexported fields
}

func (*Volume) Attr

func (v *Volume) Attr(ctx context.Context, a *fuse.Attr) error

func (*Volume) Lookup

func (v *Volume) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.LookupResponse) (fs.Node, error)

Jump to

Keyboard shortcuts

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