mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
trivial comment update
License: MIT Signed-off-by: Arthur Elliott <clownpriest@gmail.com>
This commit is contained in:
@ -6,9 +6,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
blocks "gx/ipfs/QmVA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format"
|
||||||
|
|
||||||
bserv "github.com/ipfs/go-ipfs/blockservice"
|
bserv "github.com/ipfs/go-ipfs/blockservice"
|
||||||
offline "github.com/ipfs/go-ipfs/exchange/offline"
|
offline "github.com/ipfs/go-ipfs/exchange/offline"
|
||||||
blocks "gx/ipfs/QmVA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format"
|
|
||||||
|
|
||||||
cid "gx/ipfs/QmTprEaAA2A9bst5XH7exuyi5KzNMK3SEDNN8rBDnKWcUS/go-cid"
|
cid "gx/ipfs/QmTprEaAA2A9bst5XH7exuyi5KzNMK3SEDNN8rBDnKWcUS/go-cid"
|
||||||
ipldcbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
|
ipldcbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
|
||||||
@ -32,8 +33,8 @@ type DAGService interface {
|
|||||||
Get(context.Context, *cid.Cid) (node.Node, error)
|
Get(context.Context, *cid.Cid) (node.Node, error)
|
||||||
Remove(node.Node) error
|
Remove(node.Node) error
|
||||||
|
|
||||||
// GetDAG returns, in order, all the single leve child
|
// GetMany returns a channel of NodeOption given
|
||||||
// nodes of the passed in node.
|
// a set of CIDs
|
||||||
GetMany(context.Context, []*cid.Cid) <-chan *NodeOption
|
GetMany(context.Context, []*cid.Cid) <-chan *NodeOption
|
||||||
|
|
||||||
Batch() *Batch
|
Batch() *Batch
|
||||||
|
Reference in New Issue
Block a user