Documentation
¶
Index ¶
- type FilesystemStorage
- func (f FilesystemStorage) Create(r io.Reader) (refs.Blob, error)
- func (f FilesystemStorage) Get(id refs.Blob) (io.ReadCloser, error)
- func (f FilesystemStorage) Has(id refs.Blob) (bool, error)
- func (f FilesystemStorage) Size(id refs.Blob) (blobs.Size, error)
- func (f FilesystemStorage) Store(id refs.Blob, r io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemStorage ¶
type FilesystemStorage struct {
// contains filtered or unexported fields
}
func NewFilesystemStorage ¶
func NewFilesystemStorage(path string, logger logging.Logger) (*FilesystemStorage, error)
func (FilesystemStorage) Get ¶
func (f FilesystemStorage) Get(id refs.Blob) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.