tfs

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS interface {
	OpenFile(name string, flag int) (File, error)
	ReadDir(dir string) ([]common.FileInfo, error)
	Remove(name string) error
	RemoveAll(dir string) error
	MountInfo() *MountInfo
}

type File

type File interface {
	common.IVFile
	io.Writer
	Sync() error
	Close() error
}

type MkFsFuncT

type MkFsFuncT = func(name string) (FS, error)

type MountFsFuncT

type MountFsFuncT = func(name string) (FS, error)

type MountInfo

type MountInfo struct {
	Dir  string
	Misc []byte
}

Jump to

Keyboard shortcuts

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