Documentation
¶
Index ¶
- Constants
- func New(u url.URL) (storage.BlobStore, error)
- type Filesystem
- func (fs *Filesystem) Delete(ctx context.Context, key string, opts storage.DeleteOptions) error
- func (fs *Filesystem) Get(ctx context.Context, key string, src storage.Source, opts storage.GetOptions) (err error)
- func (fs *Filesystem) Put(ctx context.Context, key string, sink storage.Sink, opts storage.PutOptions) (err error)
- type Meta
Constants ¶
View Source
const ( // DefaultFilePermissions is the default permission octal for the file that // holds the blob content. DefaultFilePermissions = os.FileMode(0640) // DefaultDirPermissions is the default permission octal for all directories created // as part of a key's path. DefaultDirPermissions = os.FileMode(0740) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filesystem ¶
type Filesystem struct {
// contains filtered or unexported fields
}
func (*Filesystem) Delete ¶
func (fs *Filesystem) Delete(ctx context.Context, key string, opts storage.DeleteOptions) error
Click to show internal directories.
Click to hide internal directories.