提交 a1e923e2 作者: Jeromy Johnson 提交者: GitHub

Merge pull request #4134 from clownpriest/trivial

trivial comment update
...@@ -8,9 +8,9 @@ import ( ...@@ -8,9 +8,9 @@ import (
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"
blocks "gx/ipfs/QmVA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format"
ipldcbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor" ipldcbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
node "gx/ipfs/QmYNyRZJBUYPNrLszFmrBrPJbsBh2vMsefz5gnDpB5M1P6/go-ipld-format" node "gx/ipfs/QmYNyRZJBUYPNrLszFmrBrPJbsBh2vMsefz5gnDpB5M1P6/go-ipld-format"
) )
...@@ -32,8 +32,8 @@ type DAGService interface { ...@@ -32,8 +32,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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论