Skip to content

Commit 6bca865

Browse files
committed
update go-merkledag too v0.2.4
1 parent a64e863 commit 6bca865

File tree

3 files changed

+121
-6
lines changed

3 files changed

+121
-6
lines changed

car.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func WriteCar(ctx context.Context, ds format.DAGService, roots []cid.Cid, w io.W
4747

4848
seen := cid.NewSet()
4949
for _, r := range roots {
50-
if err := dag.EnumerateChildren(ctx, cw.enumGetLinks, r, seen.Visit); err != nil {
50+
if err := dag.Walk(ctx, cw.enumGetLinks, r, seen.Visit); err != nil {
5151
return err
5252
}
5353
}

go.mod

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
module github.com/ipfs/go-car
22

33
require (
4+
github.com/fd/go-nat v1.0.0 // indirect
5+
github.com/gxed/pubsub v0.0.0-20180201040156-26ebdf44f824 // indirect
46
github.com/ipfs/go-block-format v0.0.2
5-
github.com/ipfs/go-cid v0.0.1
7+
github.com/ipfs/go-cid v0.0.2
68
github.com/ipfs/go-ipfs-blockstore v0.0.1
7-
github.com/ipfs/go-ipld-cbor v0.0.1
8-
github.com/ipfs/go-ipld-format v0.0.1
9-
github.com/ipfs/go-merkledag v0.0.1
10-
github.com/multiformats/go-multihash v0.0.1
9+
github.com/ipfs/go-ipfs-flags v0.0.1 // indirect
10+
github.com/ipfs/go-ipld-cbor v0.0.2
11+
github.com/ipfs/go-ipld-format v0.0.2
12+
github.com/ipfs/go-merkledag v0.2.4
13+
github.com/libp2p/go-conn-security v0.0.1 // indirect
14+
github.com/libp2p/go-libp2p-host v0.0.1 // indirect
15+
github.com/libp2p/go-libp2p-interface-pnet v0.0.1 // indirect
16+
github.com/libp2p/go-libp2p-metrics v0.0.1 // indirect
17+
github.com/libp2p/go-libp2p-routing v0.0.1 // indirect
18+
github.com/libp2p/go-libp2p-transport v0.0.4 // indirect
19+
github.com/multiformats/go-multihash v0.0.5
1120
github.com/urfave/cli v1.20.0
21+
github.com/whyrusleeping/go-smux-multiplex v3.0.16+incompatible // indirect
22+
github.com/whyrusleeping/go-smux-multistream v2.0.2+incompatible // indirect
23+
github.com/whyrusleeping/go-smux-yamux v2.0.8+incompatible // indirect
24+
github.com/whyrusleeping/yamux v1.1.5 // indirect
25+
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b // indirect
1226
)

0 commit comments

Comments
 (0)