Documentation
¶
Index ¶
- type RealFileSystem
- func (RealFileSystem) DirFS(path string) fs.FS
- func (RealFileSystem) EvalSymlinks(path string) (string, error)
- func (RealFileSystem) Glob(fileSystem fs.FS, pattern string) ([]string, error)
- func (RealFileSystem) MkdirAll(path string, perm os.FileMode) error
- func (RealFileSystem) MkdirTemp(dir string, pattern string) (string, error)
- func (RealFileSystem) ReadFile(fileSystem fs.FS, name string) ([]byte, error)
- func (RealFileSystem) Stat(name string) (os.FileInfo, error)
- func (RealFileSystem) WriteFile(name string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RealFileSystem ¶
type RealFileSystem struct{}
RealFileSystem implements FileSystem using the os and filepath packages
func (RealFileSystem) EvalSymlinks ¶
func (RealFileSystem) EvalSymlinks(path string) (string, error)
func (RealFileSystem) MkdirAll ¶ added in v0.8.0
func (RealFileSystem) MkdirAll(path string, perm os.FileMode) error
func (RealFileSystem) MkdirTemp ¶ added in v0.8.0
func (RealFileSystem) MkdirTemp(dir string, pattern string) (string, error)
Click to show internal directories.
Click to hide internal directories.