Documentation ¶
Index ¶
- func NewMockFile() oswrapper.File
- type MockFile
- func (f *MockFile) Chmod(fileMode os.FileMode) error
- func (f *MockFile) Close() error
- func (f *MockFile) Name() string
- func (f *MockFile) Read([]byte) (int, error)
- func (f *MockFile) Sync() error
- func (f *MockFile) Write(content []byte) (int, error)
- func (f *MockFile) WriteAt(b []byte, off int64) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.