Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mem = &memfs{files: map[string]*memfile{}}
Mem is a file system backed by memory.
View Source
var OS = &osfs{}
OS is a file system backed by the os package.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File interface {
io.Closer
io.Reader
io.ReaderAt
io.Seeker
io.Writer
io.WriterAt
Stat() (os.FileInfo, error)
Sync() error
Truncate(size int64) error
}
File is the interface compatible with os.File.
Click to show internal directories.
Click to hide internal directories.