Documentation ¶
Overview ¶
TODO use fs.FS
Index ¶
- type Config
- type Store
- func (s *Store) Add(ctx context.Context, r io.Reader, oldChecksum string) (string, error)
- func (s *Store) Delete(ctx context.Context, checksum string) error
- func (s *Store) DeleteAll(ctx context.Context) error
- func (s *Store) Exists(ctx context.Context, checksum string) (bool, error)
- func (s *Store) Get(ctx context.Context, checksum string) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.