diff --git a/store/store.go b/store/store.go index 80d56c1..200ff61 100644 --- a/store/store.go +++ b/store/store.go @@ -9,15 +9,15 @@ import ( type BlobStore interface { // Name of blob store (useful for metrics) Name() string - // Does blob exist in the store + // Does blob exist in the store. Has(hash string) (bool, error) - // Get the blob from the store + // Get the blob from the store. Must return ErrBlobNotFound if blob is not in store. Get(hash string) (stream.Blob, error) - // Put the blob into the store + // Put the blob into the store. Put(hash string, blob stream.Blob) error - // Put an SD blob into the store + // Put an SD blob into the store. PutSD(hash string, blob stream.Blob) error - // Delete the blob from the store + // Delete the blob from the store. Delete(hash string) error }