devindir

package
v0.0.0-...-bb586a6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

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

func (*Dir) Attr

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

func (*Dir) Lookup

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

func (*Dir) ReadDirAll

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

type File

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

func (*File) Attr

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

func (*File) Close

func (f *File) Close() error

func (*File) Fsync

func (f *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) error

func (*File) Read

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

func (*File) Write

func (f *File) Write(ctx context.Context, req *fuse.WriteRequest, res *fuse.WriteResponse) error

type Fs

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

func New

func New(dir, fname string, blockSize int, fileSize int64) (*Fs, error)

func (*Fs) Close

func (fs *Fs) Close() error

func (*Fs) Root

func (fs *Fs) Root() (fs.Node, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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