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:
@ -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)
|
||||
|
Reference in New Issue
Block a user