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
interface-go-dms3-core
Commits
77b458e7
Commit
77b458e7
authored
Aug 03, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coreapi: dag: Missing batch docs
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
f4b74679
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dag.go
dag.go
+2
-0
No files found.
dag.go
View file @
77b458e7
...
...
@@ -22,6 +22,7 @@ type DagOps interface {
type
DagBatch
interface
{
DagOps
// Commit commits nodes to the datastore and announces them to the network
Commit
(
ctx
context
.
Context
)
error
}
...
...
@@ -35,5 +36,6 @@ type DagAPI interface {
// Tree returns list of paths within a node specified by the path.
Tree
(
ctx
context
.
Context
,
path
Path
,
opts
...
options
.
DagTreeOption
)
([]
Path
,
error
)
// Batch creates new DagBatch
Batch
(
ctx
context
.
Context
)
DagBatch
}
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