Commit 38479ff1 authored by Jeromy's avatar Jeromy

docs

parent b660f937
......@@ -5,6 +5,9 @@ import (
"github.com/ipfs/go-ipfs/pin"
)
// NodeCB is callback function for dag generation
// the `root` flag signifies whether or not this is
// the root of a dag.
type NodeCB func(node *dag.Node, root bool) error
var nilFunc NodeCB = func(_ *dag.Node, _ bool) error { return nil }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment