Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrNotFound is returned when a requested object or hash is not found ErrNotFound = errors.Error("not found") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Get(hash tilde.Digest) (*object.Object, error) GetByType(string) (object.ReadCloser, error) GetByStream(tilde.Digest) (object.ReadCloser, error) Put(*object.Object) error PutWithTTL(*object.Object, time.Duration) error GetStreamLeaves(streamRootHash tilde.Digest) ([]tilde.Digest, error) Pin(tilde.Digest) error IsPinned(tilde.Digest) (bool, error) GetPinned() ([]tilde.Digest, error) RemovePin(tilde.Digest) error }
Click to show internal directories.
Click to hide internal directories.