Documentation ¶
Index ¶
- Variables
- func RegisterDefaultDriver()
- type Driver
- func (d *Driver) Create(ctx context.Context, url string) (driver.ObjectWriter, error)
- func (d *Driver) Name() string
- func (d *Driver) Open(ctx context.Context, url string, size int64) (driver.Object, error)
- func (d *Driver) Readdir(ctx context.Context, url string) ([]os.FileInfo, error)
- func (d *Driver) Remove(ctx context.Context, url string) error
- func (d *Driver) Stat(ctx context.Context, url string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCommitAbortedWriter = errors.New("commit aborted object writer")
Functions ¶
func RegisterDefaultDriver ¶
func RegisterDefaultDriver()
Types ¶
Click to show internal directories.
Click to hide internal directories.