Documentation ¶
Overview ¶
Package ramfs implements an in RAM file system.
Index ¶
- type FS
- func (fsys *FS) Mkdir(name string, _ fs.FileMode) error
- func (fsys *FS) Name() string
- func (fsys *FS) Open(name string) (fs.File, error)
- func (fsys *FS) OpenWithFinalizer(name string, flag int, _ fs.FileMode, closed func()) (fs.File, error)
- func (fsys *FS) Remove(name string) error
- func (fsys *FS) Rename(oldname, newname string) error
- func (fsys *FS) Type() string
- func (fsys *FS) Usage() (usedItems, maxItems int, usedBytes, maxBytes int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
An FS represents a file system in RAM.
Click to show internal directories.
Click to hide internal directories.