Documentation
¶
Index ¶
- type FilesystemStore
- func (s FilesystemStore) Create(h storage.Key) (io.WriteCloser, error)
- func (s FilesystemStore) Delete(h storage.Key) error
- func (s FilesystemStore) Exists(h storage.Key) bool
- func (s FilesystemStore) List() ([]storage.Key, error)
- func (s FilesystemStore) MakeReadOnly(h storage.Key) error
- func (s FilesystemStore) Reader(h storage.Key) (io.ReadCloser, error)
- func (s FilesystemStore) Writer(h storage.Key) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemStore ¶
type FilesystemStore struct {
Root types.DirectoryPath
}
func NewFilesystemStore ¶
func NewFilesystemStore(root types.DirectoryPath) (s FilesystemStore, err error)
func (FilesystemStore) Create ¶
func (s FilesystemStore) Create(h storage.Key) (io.WriteCloser, error)
func (FilesystemStore) MakeReadOnly ¶
func (s FilesystemStore) MakeReadOnly(h storage.Key) error
func (FilesystemStore) Reader ¶
func (s FilesystemStore) Reader(h storage.Key) (io.ReadCloser, error)
func (FilesystemStore) Writer ¶
func (s FilesystemStore) Writer(h storage.Key) (io.WriteCloser, error)
Click to show internal directories.
Click to hide internal directories.