Documentation ¶
Index ¶
- Constants
- Variables
- type App
- func (a App) ConvertError(err error) error
- func (a App) CreateDir(_ context.Context, name string) error
- func (a App) Enabled() bool
- func (a App) Info(_ context.Context, pathname string) (model.Item, error)
- func (a App) List(_ context.Context, pathname string) ([]model.Item, error)
- func (a App) Name() string
- func (a App) Path(pathname string) string
- func (a App) ReadFrom(_ context.Context, pathname string) (io.ReadSeekCloser, error)
- func (a App) Remove(_ context.Context, pathname string) error
- func (a App) Rename(ctx context.Context, oldName, newName string) error
- func (a App) UpdateDate(_ context.Context, pathname string, date time.Time) error
- func (a App) Walk(_ context.Context, pathname string, walkFn func(model.Item) error) error
- func (a App) WithIgnoreFn(ignoreFn func(model.Item) bool) model.Storage
- func (a App) WriteTo(_ context.Context, pathname string, reader io.Reader, _ model.WriteOpts) error
Constants ¶
View Source
const Name = "fs"
Variables ¶
View Source
var (
ErrRelativePath = errors.New("pathname contains relatives paths")
)
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) ConvertError ¶ added in v0.3.4
func (App) UpdateDate ¶
Click to show internal directories.
Click to hide internal directories.