filesystem

package
v0.0.0-...-ef34e04 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

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

FS implements filesystem

func NewFS

func NewFS() (*FS, error)

NewFS create a new FS instance

func (*FS) Attr

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

Attr attributes for root dir

func (FS) Lookup

func (f FS) Lookup(ctx context.Context, name string) (fs.Node, error)

Lookup checks an entry on filesystem

func (*FS) ReadDirAll

func (f *FS) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

ReadDirAll list content of filesystem

func (*FS) Root

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

Root implements Root of filesystem

Jump to

Keyboard shortcuts

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