providertest

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) CreateDir

func (s Storage) CreateDir(pathname string) error

CreateDir 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) Remove

func (s Storage) Remove(pathname string) error

Remove fakes implementation

func (Storage) Rename

func (s Storage) Rename(oldName, _ string) error

Rename 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

func (Storage) Walk

func (s Storage) Walk(pathname string, _ func(provider.StorageItem, error) error) error

Walk fakes implementation

func (Storage) WriterTo

func (s Storage) WriterTo(pathname string) (io.WriteCloser, error)

WriterTo fakes implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL