1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 05:52:20 +08:00

misc(blockstore) comment

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
Brian Tiger Chow
2014-12-12 20:00:23 -08:00
parent 1c8acd01c9
commit 866ef7287b

View File

@ -14,6 +14,7 @@ import (
var ValueTypeMismatch = errors.New("The retrieved value is not a Block")
// Blockstore wraps a ThreadSafeDatastore
type Blockstore interface {
DeleteBlock(u.Key) error
Has(u.Key) (bool, error)