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
dms3
go-graphsync
Commits
94cf785f
Commit
94cf785f
authored
Mar 23, 2020
by
hannahhoward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(deps): go mod tidy
parent
42ef377a
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
87 deletions
+14
-87
go.mod
go.mod
+0
-3
go.sum
go.sum
+12
-81
graphsync.go
graphsync.go
+1
-1
testutil/testutil.go
testutil/testutil.go
+1
-2
No files found.
go.mod
View file @
94cf785f
...
@@ -3,9 +3,7 @@ module github.com/ipfs/go-graphsync
...
@@ -3,9 +3,7 @@ module github.com/ipfs/go-graphsync
go 1.12
go 1.12
require (
require (
github.com/filecoin-project/go-data-transfer
v0.0.0-20191219005021-4accf56bd2ce
github.com/gogo/protobuf
v1.3.1
github.com/gogo/protobuf
v1.3.1
github.com/ipfs/go-bitswap
v0.1.8
github.com/ipfs/go-block-format
v0.0.2
github.com/ipfs/go-block-format
v0.0.2
github.com/ipfs/go-blockservice
v0.1.3-0.20190908200855-f22eea50656c
github.com/ipfs/go-blockservice
v0.1.3-0.20190908200855-f22eea50656c
github.com/ipfs/go-cid
v0.0.4-0.20191112011718-79e75dffeb10
github.com/ipfs/go-cid
v0.0.4-0.20191112011718-79e75dffeb10
...
@@ -26,7 +24,6 @@ require (
...
@@ -26,7 +24,6 @@ require (
github.com/jbenet/go-random
v0.0.0-20190219211222-123a90aedc0c
github.com/jbenet/go-random
v0.0.0-20190219211222-123a90aedc0c
github.com/libp2p/go-libp2p
v0.3.0
github.com/libp2p/go-libp2p
v0.3.0
github.com/libp2p/go-libp2p-core
v0.2.4
github.com/libp2p/go-libp2p-core
v0.2.4
github.com/libp2p/go-libp2p-peer
v0.2.0
github.com/multiformats/go-multiaddr
v0.1.1
github.com/multiformats/go-multiaddr
v0.1.1
github.com/multiformats/go-multihash
v0.0.9
github.com/multiformats/go-multihash
v0.0.9
)
)
go.sum
View file @
94cf785f
This diff is collapsed.
Click to expand it.
graphsync.go
View file @
94cf785f
...
@@ -6,7 +6,7 @@ import (
...
@@ -6,7 +6,7 @@ import (
"github.com/ipfs/go-cid"
"github.com/ipfs/go-cid"
"github.com/ipld/go-ipld-prime"
"github.com/ipld/go-ipld-prime"
peer
"github.com/libp2p/go-libp2p-peer"
peer
"github.com/libp2p/go-libp2p-
core/
peer"
)
)
// RequestID is a unique identifier for a GraphSync request.
// RequestID is a unique identifier for a GraphSync request.
...
...
testutil/testutil.go
View file @
94cf785f
...
@@ -5,7 +5,6 @@ import (
...
@@ -5,7 +5,6 @@ import (
"context"
"context"
"testing"
"testing"
"github.com/ipfs/go-bitswap/testutil"
blocks
"github.com/ipfs/go-block-format"
blocks
"github.com/ipfs/go-block-format"
cid
"github.com/ipfs/go-cid"
cid
"github.com/ipfs/go-cid"
"github.com/ipfs/go-graphsync"
"github.com/ipfs/go-graphsync"
...
@@ -195,5 +194,5 @@ func VerifyEmptyResponse(ctx context.Context, t *testing.T, responseChan <-chan
...
@@ -195,5 +194,5 @@ func VerifyEmptyResponse(ctx context.Context, t *testing.T, responseChan <-chan
// NewTestLink returns a randomly generated IPLD Link
// NewTestLink returns a randomly generated IPLD Link
func
NewTestLink
()
ipld
.
Link
{
func
NewTestLink
()
ipld
.
Link
{
return
cidlink
.
Link
{
Cid
:
testutil
.
GenerateCids
(
1
)[
0
]}
return
cidlink
.
Link
{
Cid
:
GenerateCids
(
1
)[
0
]}
}
}
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