Documentation
¶
Index ¶
- type App
- func (a App) CreateDir(name string) error
- func (a App) Enabled() bool
- func (a App) Info(pathname string) (provider.StorageItem, error)
- func (a App) List(pathname string) ([]provider.StorageItem, error)
- func (a App) ReaderFrom(pathname string) (io.ReadSeekCloser, error)
- func (a App) Remove(pathname string) error
- func (a App) Rename(oldName, newName string) error
- func (a App) UpdateDate(pathname string, date time.Time) error
- func (a App) Walk(pathname string, walkFn func(provider.StorageItem, error) error) error
- func (a App) WithIgnoreFn(ignoreFn func(provider.StorageItem) bool) provider.Storage
- func (a App) WriterTo(pathname string) (io.WriteCloser, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (App) Info ¶
func (a App) Info(pathname string) (provider.StorageItem, error)
Info provide metadata about given pathname
func (App) List ¶
func (a App) List(pathname string) ([]provider.StorageItem, error)
List items in the storage
func (App) ReaderFrom ¶
func (a App) ReaderFrom(pathname string) (io.ReadSeekCloser, error)
ReaderFrom reads content from given pathname
func (App) UpdateDate ¶
UpdateDate update date from given value
func (App) WithIgnoreFn ¶
WithIgnoreFn create a new App with given ignoreFn
Click to show internal directories.
Click to hide internal directories.