mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-05 08:18:03 +08:00
misc(blockstore) comment
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
parent
1c8acd01c9
commit
866ef7287b
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user