Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-car
Commits
6bca8656
Commit
6bca8656
authored
Oct 17, 2019
by
frrist
Committed by
Frrist
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update go-merkledag too v0.2.4
parent
a64e8633
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
121 additions
and
6 deletions
+121
-6
car.go
car.go
+1
-1
go.mod
go.mod
+19
-5
go.sum
go.sum
+101
-0
No files found.
car.go
View file @
6bca8656
...
...
@@ -47,7 +47,7 @@ func WriteCar(ctx context.Context, ds format.DAGService, roots []cid.Cid, w io.W
seen
:=
cid
.
NewSet
()
for
_
,
r
:=
range
roots
{
if
err
:=
dag
.
EnumerateChildren
(
ctx
,
cw
.
enumGetLinks
,
r
,
seen
.
Visit
);
err
!=
nil
{
if
err
:=
dag
.
Walk
(
ctx
,
cw
.
enumGetLinks
,
r
,
seen
.
Visit
);
err
!=
nil
{
return
err
}
}
...
...
go.mod
View file @
6bca8656
module
github.com/ipfs/go-car
require (
github.com/fd/go-nat
v1.0.0 // indirect
github.com/gxed/pubsub
v0.0.0-20180201040156-26ebdf44f824 // indirect
github.com/ipfs/go-block-format
v0.0.2
github.com/ipfs/go-cid
v0.0.
1
github.com/ipfs/go-cid
v0.0.
2
github.com/ipfs/go-ipfs-blockstore
v0.0.1
github.com/ipfs/go-ipld-cbor
v0.0.1
github.com/ipfs/go-ipld-format
v0.0.1
github.com/ipfs/go-merkledag
v0.0.1
github.com/multiformats/go-multihash
v0.0.1
github.com/ipfs/go-ipfs-flags
v0.0.1 // indirect
github.com/ipfs/go-ipld-cbor
v0.0.2
github.com/ipfs/go-ipld-format
v0.0.2
github.com/ipfs/go-merkledag
v0.2.4
github.com/libp2p/go-conn-security
v0.0.1 // indirect
github.com/libp2p/go-libp2p-host
v0.0.1 // indirect
github.com/libp2p/go-libp2p-interface-pnet
v0.0.1 // indirect
github.com/libp2p/go-libp2p-metrics
v0.0.1 // indirect
github.com/libp2p/go-libp2p-routing
v0.0.1 // indirect
github.com/libp2p/go-libp2p-transport
v0.0.4 // indirect
github.com/multiformats/go-multihash
v0.0.5
github.com/urfave/cli
v1.20.0
github.com/whyrusleeping/go-smux-multiplex
v3.0.16+incompatible // indirect
github.com/whyrusleeping/go-smux-multistream
v2.0.2+incompatible // indirect
github.com/whyrusleeping/go-smux-yamux
v2.0.8+incompatible // indirect
github.com/whyrusleeping/yamux
v1.1.5 // indirect
google.golang.org/genproto
v0.0.0-20180831171423-11092d34479b // indirect
)
go.sum
View file @
6bca8656
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment