@cryptotaxi247 / kubo / commits / 38479ff1d

docs

Jeromy committed May 28, 2015 at 08:51 UTC 38479ff1d3c0ff6a6b27c346be90357ffe822ef7
1 file changed +3
importer/helpers/dagbuilder.go
+3
@@ -5,6 +5,9 @@ import (
5 "github.com/ipfs/go-ipfs/pin"
6 )
7
8 +// NodeCB is callback function for dag generation
9 +// the `root` flag signifies whether or not this is
10 +// the root of a dag.
11 type NodeCB func(node *dag.Node, root bool) error
12
13 var nilFunc NodeCB = func(_ *dag.Node, _ bool) error { return nil }