Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-merkledag
Commits
3cf3c886
Commit
3cf3c886
authored
Aug 09, 2017
by
Arthur Elliott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial comment update
License: MIT Signed-off-by:
Arthur Elliott
<
clownpriest@gmail.com
>
parent
840b169d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
merkledag.go
merkledag.go
+4
-3
No files found.
merkledag.go
View file @
3cf3c886
...
...
@@ -6,9 +6,10 @@ import (
"fmt"
"sync"
blocks
"gx/ipfs/QmVA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format"
bserv
"github.com/ipfs/go-ipfs/blockservice"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
blocks
"gx/ipfs/QmVA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format"
cid
"gx/ipfs/QmTprEaAA2A9bst5XH7exuyi5KzNMK3SEDNN8rBDnKWcUS/go-cid"
ipldcbor
"gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
...
...
@@ -32,8 +33,8 @@ type DAGService interface {
Get
(
context
.
Context
,
*
cid
.
Cid
)
(
node
.
Node
,
error
)
Remove
(
node
.
Node
)
error
// Get
DAG
returns
, in order, all the single leve child
//
nodes of the passed in node.
// Get
Many
returns
a channel of NodeOption given
//
a set of CIDs
GetMany
(
context
.
Context
,
[]
*
cid
.
Cid
)
<-
chan
*
NodeOption
Batch
()
*
Batch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment