Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnimplementedWhenceMode = errors.New("filesystem seek error: unsupported whence value") ErrSeekedOutOfBounds = errors.New("seeked out of bounds: file length and searched offset do not align") )
Functions ¶
This section is empty.
Types ¶
type MemoryFS ¶
type MemoryFS struct {
// contains filtered or unexported fields
}
MemoryFS only holds actual files, not the directory entries
func NewMemoryFs ¶
NewMemoryFs initials a memory filesystem from the given targetPath
type ReadFileFS ¶
ReadFileFS wraps a fs.FS and adds the ReadFile method
Click to show internal directories.
Click to hide internal directories.