fuse

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadHolderIndex = errors.New("holder index too big")
View Source
var ErrHolderEmpty = errors.New("file holder is empty")

Functions

Types

type FS

type FS struct {
	fuse.FileSystemBase
	// contains filtered or unexported fields
}

func (*FS) Getattr

func (fs *FS) Getattr(path string, stat *fuse.Stat_t, fh uint64) (errc int)

func (*FS) Open

func (fs *FS) Open(path string, flags int) (errc int, fh uint64)

func (*FS) Opendir

func (fs *FS) Opendir(path string) (errc int, fh uint64)

func (*FS) Read

func (fs *FS) Read(path string, dest []byte, off int64, fh uint64) int

func (*FS) Readdir

func (fs *FS) Readdir(path string,
	fill func(name string, stat *fuse.Stat_t, ofst int64) bool,
	ofst int64,
	fh uint64) (errc int)

func (*FS) Release

func (fs *FS) Release(path string, fh uint64) int

func (*FS) Releasedir

func (fs *FS) Releasedir(path string, fh uint64) int

type Handler

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

func NewHandler

func NewHandler(fuseAllowOther bool, path string) *Handler

func (*Handler) Mount

func (s *Handler) Mount(fss map[string]fs.Filesystem) error

func (*Handler) Unmount

func (s *Handler) Unmount()

Jump to

Keyboard shortcuts

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