fs

package
v0.0.0-...-049186b Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLayerStore

func NewLayerStore(mountpoint string, store *LayerStore) error

Types

type Dir

type Dir struct{}

func (Dir) Attr

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

func (Dir) Lookup

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

func (Dir) ReadDirAll

func (Dir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

type File

type File struct{}

File implements both Node and Handle for the hello file.

func (File) Attr

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

func (File) ReadAll

func (File) ReadAll(ctx context.Context) ([]byte, error)

type LayerStore

type LayerStore struct {
	Conn *fuse.Conn
}

func (*LayerStore) Root

func (p *LayerStore) Root() (fs.Node, error)

Jump to

Keyboard shortcuts

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