Documentation ¶
Index ¶
- type MockFile
- func (*MockFile) AddFileToPath(_, _ string) error
- func (*MockFile) Download(_ string) (io.ReadCloser, uint64, error)
- func (*MockFile) GetStats(_, _ string) (*file.Stats, error)
- func (*MockFile) ListFiles(_ []string) ([]file.Entry, error)
- func (*MockFile) LoadFileMeta(_ string) error
- func (*MockFile) Read(_ []byte) (n int, err error)
- func (*MockFile) RmFile(_ string) error
- func (*MockFile) Upload(_ io.Reader, _ string, _ int64, _ uint32, _, _ string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFile ¶
type MockFile struct { }
func NewMockFile ¶
func NewMockFile() *MockFile
func (*MockFile) AddFileToPath ¶
func (*MockFile) LoadFileMeta ¶
Click to show internal directories.
Click to hide internal directories.