1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-25 10:27:01 +08:00

Wire a context down to (n *helpers.UnixfsNode) GetChild

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
rht
2015-08-20 07:59:52 +07:00
parent 5d8e15042f
commit 34e06f6c95
4 changed files with 32 additions and 42 deletions

View File

@ -312,7 +312,7 @@ func (dm *DagModifier) appendData(node *mdag.Node, blks <-chan []byte, errs <-ch
NodeCB: imp.BasicPinnerCB(dm.mp),
}
return trickle.TrickleAppend(node, dbp.New(blks, errs))
return trickle.TrickleAppend(dm.ctx, node, dbp.New(blks, errs))
}
// Read data from this dag starting at the current offset