readstreamfuse

package
v0.0.0-...-ff95916 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 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 File

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

func Stream

func Stream(bgctx context.Context, cb func(context.Context, io.Writer) error) *File

func (*File) Attr

func (s *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)

type Handle

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

func (*Handle) Read

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

func (*Handle) Release

func (h *Handle) Release(ctx context.Context, req *fuse.ReleaseRequest) error

func (*Handle) Write

func (h *Handle) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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