Documentation
¶
Index ¶
- type OSDriver
- func (OSDriver) MkdirAll(dirname string) error
- func (OSDriver) ReadDir(dirname string) ([]fs.FileInfo, error)
- func (OSDriver) ReadFile(filename string) ([]byte, error)
- func (OSDriver) Stat(filename string) (fs.FileInfo, error)
- func (OSDriver) Symlink(oldname, newname string) error
- func (OSDriver) WriteFile(filename string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSDriver ¶
type OSDriver struct{}
OSDriver is the driver for a concrete file system.
func (OSDriver) MkdirAll ¶
MkdirAll creates directories recursively or is a NOP when they already exist.
func (OSDriver) ReadFile ¶
ReadFile returns the content of filename. It always transforms CRLF newlines into LF only.
Click to show internal directories.
Click to hide internal directories.