Documentation ¶
Index ¶
- type FS
- func (f *FS) CreateMockFile(fpath string, size int64, mode os.FileMode) error
- func (f *FS) LoadDirectory(fsPath, sourcePath string) error
- func (f *FS) MkdirAll(path string, mode os.FileMode) error
- func (f *FS) Open(path string) (fs.File, error)
- func (f *FS) WriteFile(path string, data []byte, mode os.FileMode) error
- type File
- type MockFile
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
}
func (*FS) CreateMockFile ¶
func (*FS) LoadDirectory ¶
Click to show internal directories.
Click to hide internal directories.