Documentation
¶
Index ¶
- func New(storage model.Storage, tracerProvider trace.TracerProvider) model.Storage
- type Service
- func (s Service) ConvertError(err error) error
- func (s Service) List(ctx context.Context, name string) ([]model.Item, error)
- func (s Service) Mkdir(ctx context.Context, name string) error
- func (s Service) Name() string
- func (s Service) ReadFrom(ctx context.Context, name string) (model.ReadAtSeekCloser, error)
- func (s Service) RemoveAll(ctx context.Context, name string) error
- func (s Service) Rename(ctx context.Context, oldName, newName string) error
- func (s Service) Stat(ctx context.Context, name string) (model.Item, error)
- func (s Service) UpdateDate(ctx context.Context, name string, date time.Time) error
- func (s Service) Walk(ctx context.Context, name string, walkFn func(model.Item) error) error
- func (s Service) WithIgnoreFn(ignoreFn func(model.Item) bool) model.Storage
- func (s Service) WriteTo(ctx context.Context, name string, reader io.Reader, opts model.WriteOpts) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶ added in v1.7.1
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.