base

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *_Client

Functions

func NewClient

func NewClient(fsID string, c *core.PaddleFlowClient, token string) (*_Client, error)

func ToDirEntryList

func ToDirEntryList(dirs []DirEntry) []fuse.DirEntry

Types

type Context

type Context struct {
	Uid uint32
	Gid uint32
	Pid uint32
}

func NewContext

func NewContext(ctx *fuse.Context) *Context

func NewDefaultContext

func NewDefaultContext() *Context

type DirEntry

type DirEntry fuse.DirEntry

type FileInfo

type FileInfo struct {
	Name  string // relative path of file
	Path  string // full path of file
	Size  int64
	Mtime uint64
	IsDir bool
	Owner string
	Group string
	Mode  os.FileMode // file mode, not stat mode
	Sys   interface{} // underlying data source (can return nil)
}

func (*FileInfo) FixLinkPrefix

func (f *FileInfo) FixLinkPrefix(prefix string)

type StatfsOut

type StatfsOut fuse.StatfsOut

func (*StatfsOut) FromStatfsT

func (s *StatfsOut) FromStatfsT(statfs *syscall.Statfs_t)

Jump to

Keyboard shortcuts

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