Documentation ¶
Index ¶
- type FS
- func (f FS) ChangeDir(name string) FS
- func (f FS) Create(name string) (*os.File, error)
- func (f FS) Mkdir(name string, perm fs.FileMode) error
- func (f FS) MkdirAll(path string, perm fs.FileMode) error
- func (f FS) Open(name string) (*os.File, error)
- func (f FS) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
- func (f FS) ReadDir(name string) ([]os.DirEntry, error)
- func (f FS) Readlink(name string) (string, error)
- func (f FS) Remove(name string) error
- func (f FS) Stat(name string) (os.FileInfo, error)
- func (f FS) Symlink(oldname, newname string) error
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
}
FS provides an os directory as a filesystem.
Click to show internal directories.
Click to hide internal directories.