Documentation ¶
Index ¶
- func NewsdfsDirStream(ctx context.Context, name string) (ffs.DirStream, syscall.Errno)
- func NewsdfsFile(fd int64, path string) ffs.FileHandle
- func NewsdfsRoot(root string, connectionInfo ConnectionInfo) (ffs.InodeEmbedder, error)
- func SetLogLevel(level log.Level)
- func ToAttr(fi *sapi.Stat, out *fuse.Attr)
- func ToErrno(err error) syscall.Errno
- func ToStat(fi *sapi.Stat, out *fuse.EntryOut)
- type ConnectionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewsdfsDirStream ¶
NewsdfsDirStream open a directory for reading as a DirStream
func NewsdfsFile ¶
func NewsdfsFile(fd int64, path string) ffs.FileHandle
NewsdfsFile creates a FileHandle out of a file descriptor. All operations are implemented.
func NewsdfsRoot ¶
func NewsdfsRoot(root string, connectionInfo ConnectionInfo) (ffs.InodeEmbedder, error)
NewsdfsRoot returns a root node for a sdfs file system whose root is at the given root. This node implements all NodeXxxxer operations available.
func SetLogLevel ¶
SetLogLevel sets the log level for this service
Types ¶
Click to show internal directories.
Click to hide internal directories.