fusefs

package
v0.0.0-...-197752e Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuseNode

type FuseNode struct {
	fs.Inode

	Size uint64
	// contains filtered or unexported fields
}

func NewFuseFS

func NewFuseFS(ctx context.Context, api *sma.SMAApi) *FuseNode

func (*FuseNode) Getattr

func (r *FuseNode) Getattr(ctx context.Context, fh fs.FileHandle, out *fuse.AttrOut) syscall.Errno

func (*FuseNode) Lookup

func (r *FuseNode) Lookup(ctx context.Context, name string, out *fuse.EntryOut) (*fs.Inode, syscall.Errno)

func (*FuseNode) Open

func (r *FuseNode) Open(ctx context.Context, openFlags uint32) (fh fs.FileHandle, fuseFlags uint32, errno syscall.Errno)

func (*FuseNode) Readdir

func (r *FuseNode) Readdir(ctx context.Context) (fs.DirStream, syscall.Errno)

type FuseRoot

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

func (*FuseRoot) MakeIno

func (r *FuseRoot) MakeIno(name string) uint64

func (*FuseRoot) ReserveIno

func (r *FuseRoot) ReserveIno() uint64

Jump to

Keyboard shortcuts

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