Documentation ¶
Index ¶
- Variables
- type FilePointer
- type Metadata
- type Params
- type Result
- type Storage
- func (o *Storage) DeleteFile(ctx context.Context, path string) error
- func (o *Storage) FileExists(ctx context.Context, path string) (ok bool, err error)
- func (o *Storage) Migrate() error
- func (o *Storage) ReadFile(ctx context.Context, path string) (*FilePointer, error)
- func (o *Storage) WriteFile(ctx context.Context, opts *WriteFileOptions) error
- type WriteFileOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExists = errors.New("file already exists")
Functions ¶
This section is empty.
Types ¶
type FilePointer ¶
func (*FilePointer) Close ¶
func (f *FilePointer) Close() error
Click to show internal directories.
Click to hide internal directories.