Documentation
¶
Overview ¶
Package disk stores immutable, digest-verified bytes under one filesystem root.
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) Delete(ctx context.Context, digest string) error
- func (s *Store) Open(ctx context.Context, digest string) (io.ReadCloser, error)
- func (s *Store) Put(ctx context.Context, r io.Reader, limit int64) (board.Blob, error)
- func (s *Store) Stat(ctx context.Context, digest string) (board.Blob, error)
- func (s *Store) Walk(ctx context.Context, visit func(board.Blob) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store confines content-addressed bytes to an owner-only directory.
func OpenExisting ¶
OpenExisting opens a store for inspection without creating directories.
func (*Store) Delete ¶
Delete removes a blob; the caller must establish that no record references it.
Click to show internal directories.
Click to hide internal directories.