Documentation ¶
Index ¶
- type FileSystem
- func (_m *FileSystem) AppendToFile(filename string, content string, perm os.FileMode) error
- func (_m *FileSystem) DeleteFile(filename string) error
- func (_m *FileSystem) IsNotExist(err error) bool
- func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error
- func (_m *FileSystem) ReadDir(path string) ([]os.FileInfo, error)
- func (_m *FileSystem) ReadFile(filename string) ([]byte, error)
- func (_m *FileSystem) Stat(name string) (os.FileInfo, error)
- func (_m *FileSystem) 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 FileSystem ¶
FileSystem is an autogenerated mock type for the FileSystem type
func (*FileSystem) AppendToFile ¶
AppendToFile provides a mock function with given fields: filename, content, perm
func (*FileSystem) DeleteFile ¶
func (_m *FileSystem) DeleteFile(filename string) error
DeleteFile provides a mock function with given fields: filename
func (*FileSystem) IsNotExist ¶
func (_m *FileSystem) IsNotExist(err error) bool
IsNotExist provides a mock function with given fields: err
func (*FileSystem) MkdirAll ¶
func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error
MkdirAll provides a mock function with given fields: path, perm
func (*FileSystem) ReadDir ¶
func (_m *FileSystem) ReadDir(path string) ([]os.FileInfo, error)
ReadDir provides a mock function with given fields: path
func (*FileSystem) ReadFile ¶
func (_m *FileSystem) ReadFile(filename string) ([]byte, error)
ReadFile provides a mock function with given fields: filename
Click to show internal directories.
Click to hide internal directories.