Documentation ¶
Index ¶
- Constants
- type Service
- func (a Service) ConvertError(err error) error
- func (a Service) Enabled() bool
- func (a Service) List(_ context.Context, name string) ([]model.Item, error)
- func (a Service) Mkdir(_ context.Context, name string, perm os.FileMode) error
- func (a Service) Name() string
- func (a Service) Path(name string) string
- func (a Service) ReadFrom(_ context.Context, name string) (model.ReadAtSeekCloser, error)
- func (a Service) RemoveAll(_ context.Context, name string) error
- func (a Service) Rename(ctx context.Context, oldName, newName string) error
- func (a Service) Stat(_ context.Context, name string) (model.Item, error)
- func (a Service) UpdateDate(_ context.Context, name string, date time.Time) error
- func (a Service) Walk(_ context.Context, name string, walkFn func(model.Item) error) error
- func (a Service) WithIgnoreFn(ignoreFn func(model.Item) bool) model.Storage
- func (a Service) WriteTo(_ context.Context, name string, reader io.Reader, _ model.WriteOpts) error
Constants ¶
View Source
const Name = "filesystem"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v1.7.1
type Service struct {
// contains filtered or unexported fields
}
func (Service) ConvertError ¶ added in v1.7.1
func (Service) UpdateDate ¶ added in v1.7.1
func (Service) WithIgnoreFn ¶ added in v1.7.1
Click to show internal directories.
Click to hide internal directories.