Documentation
¶
Index ¶
- type Storage
- func (s Storage) CreateDir(pathname string) error
- func (s Storage) Info(pathname string) (provider.StorageItem, error)
- func (s Storage) List(pathname string) ([]provider.StorageItem, error)
- func (s Storage) ReaderFrom(pathname string) (provider.ReadSeekerCloser, error)
- func (s Storage) Remove(pathname string) error
- func (s Storage) Rename(oldName, _ string) error
- func (s Storage) SetIgnoreFn(func(provider.StorageItem) bool)
- func (s Storage) Store(pathname string, content io.ReadCloser) error
- func (s Storage) Walk(pathname string, _ func(provider.StorageItem, error) error) error
- func (s Storage) WriterTo(pathname string) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
}
Storage fakes implementation
func (Storage) Info ¶
func (s Storage) Info(pathname string) (provider.StorageItem, error)
Info fakes implementation
func (Storage) List ¶
func (s Storage) List(pathname string) ([]provider.StorageItem, error)
List fakes implementation
func (Storage) ReaderFrom ¶
func (s Storage) ReaderFrom(pathname string) (provider.ReadSeekerCloser, error)
ReaderFrom fakes implementation
func (Storage) SetIgnoreFn ¶
func (s Storage) SetIgnoreFn(func(provider.StorageItem) bool)
SetIgnoreFn fakes implementation
func (Storage) Store ¶
func (s Storage) Store(pathname string, content io.ReadCloser) error
Store fakes implementation
Click to show internal directories.
Click to hide internal directories.