fs

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: LGPL-3.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 ISimpleFS

type ISimpleFS interface {
	Create(path string) error
	MkdirAll(path string) error
	Remove(path string) error
	Rename(oldpath, newpath string) error
	ReadAt(path string, b []byte, off int64) (n int, err error)
	WriteAt(path string, b []byte, off int64) (n int, err error)
	Stat(path string) (os.FileInfo, error)
	Close() error
	Sync() error
	GetFileReader(path string) (ReadCloseSeeker, uint64, error)
	CloseReader(id string) error
	Root() string
	ListDir(path string) ([]os.FileInfo, error)
}

type ReadCloseSeeker

type ReadCloseSeeker interface {
	io.Reader
	io.ReaderFrom
	io.Closer
	io.Seeker
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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