Documentation
¶
Overview ¶
Package fs interace and implementations used by storage/filesystem
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
type Filesystem interface {
Create(filename string) (File, error)
Open(filename string) (File, error)
OpenFile(filename string, flag int, perm os.FileMode) (File, error)
Stat(filename string) (FileInfo, error)
ReadDir(path string) ([]FileInfo, error)
TempFile(dir, prefix string) (File, error)
Rename(from, to string) error
Remove(filename string) error
Join(elem ...string) string
Dir(path string) Filesystem
Base() string
}
Click to show internal directories.
Click to hide internal directories.