1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 17:03:58 +08:00
This commit is contained in:
Jeromy
2015-05-28 08:51:53 -07:00
parent b660f937bd
commit 38479ff1d3

View File

@ -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 }