Skip to content

Commit dfe2dcc

Browse files
committed
refactor: move from ipfs/go-graphsync to filecoin-project/boost-graphsync
1 parent e3f9b89 commit dfe2dcc

File tree

88 files changed

+305
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+305
-306
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ If your existing library (i.e. `go-ipfs` or `go-filecoin`) uses these other olde
5151

5252
```golang
5353
import (
54-
graphsync "github.com/ipfs/go-graphsync/impl"
55-
gsnet "github.com/ipfs/go-graphsync/network"
54+
graphsync "github.com/filecoin-project/boost-graphsync/impl"
55+
gsnet "github.com/filecoin-project/boost-graphsync/network"
5656
ipld "github.com/ipld/go-ipld-prime"
5757
)
5858

@@ -78,9 +78,9 @@ integrating with BlockStore's from IPFS.
7878

7979
```golang
8080
import (
81-
graphsync "github.com/ipfs/go-graphsync/impl"
82-
gsnet "github.com/ipfs/go-graphsync/network"
83-
storeutil "github.com/ipfs/go-graphsync/storeutil"
81+
graphsync "github.com/filecoin-project/boost-graphsync/impl"
82+
gsnet "github.com/filecoin-project/boost-graphsync/network"
83+
storeutil "github.com/filecoin-project/boost-graphsync/storeutil"
8484
ipld "github.com/ipld/go-ipld-prime"
8585
blockstore "github.com/ipfs/go-ipfs-blockstore"
8686
)

allocator/allocator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
logging "github.com/ipfs/go-log/v2"
99
peer "github.com/libp2p/go-libp2p/core/peer"
1010

11-
"github.com/ipfs/go-graphsync"
11+
graphsync "github.com/filecoin-project/boost-graphsync"
1212
)
1313

1414
var log = logging.Logger("graphsync_allocator")

allocator/allocator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"github.com/stretchr/testify/assert"
88
"github.com/stretchr/testify/require"
99

10-
"github.com/ipfs/go-graphsync/allocator"
11-
"github.com/ipfs/go-graphsync/testutil"
10+
"github.com/filecoin-project/boost-graphsync/allocator"
11+
"github.com/filecoin-project/boost-graphsync/testutil"
1212
)
1313

1414
func TestAllocator(t *testing.T) {

benchmarks/benchmark_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ import (
3232
"github.com/stretchr/testify/require"
3333
"golang.org/x/sync/errgroup"
3434

35-
"github.com/ipfs/go-graphsync/benchmarks/testinstance"
36-
tn "github.com/ipfs/go-graphsync/benchmarks/testnet"
37-
graphsync "github.com/ipfs/go-graphsync/impl"
35+
"github.com/filecoin-project/boost-graphsync/benchmarks/testinstance"
36+
tn "github.com/filecoin-project/boost-graphsync/benchmarks/testnet"
37+
graphsync "github.com/filecoin-project/boost-graphsync/impl"
3838
)
3939

4040
type runStats struct {

benchmarks/testinstance/testinstance.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import (
1515
p2ptestutil "github.com/libp2p/go-libp2p-testing/netutil"
1616
peer "github.com/libp2p/go-libp2p/core/peer"
1717

18-
graphsync "github.com/ipfs/go-graphsync"
19-
tn "github.com/ipfs/go-graphsync/benchmarks/testnet"
20-
gsimpl "github.com/ipfs/go-graphsync/impl"
21-
gsnet "github.com/ipfs/go-graphsync/network"
22-
"github.com/ipfs/go-graphsync/storeutil"
18+
graphsync "github.com/filecoin-project/boost-graphsync"
19+
tn "github.com/filecoin-project/boost-graphsync/benchmarks/testnet"
20+
gsimpl "github.com/filecoin-project/boost-graphsync/impl"
21+
gsnet "github.com/filecoin-project/boost-graphsync/network"
22+
"github.com/filecoin-project/boost-graphsync/storeutil"
2323
)
2424

2525
// TempDirGenerator is any interface that can generate temporary directories

benchmarks/testnet/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
tnet "github.com/libp2p/go-libp2p-testing/net"
55
"github.com/libp2p/go-libp2p/core/peer"
66

7-
gsnet "github.com/ipfs/go-graphsync/network"
7+
gsnet "github.com/filecoin-project/boost-graphsync/network"
88
)
99

1010
// Network is an interface for generating graphsync network interfaces

benchmarks/testnet/internet_latency_delay_generator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/stretchr/testify/require"
1010

11-
"github.com/ipfs/go-graphsync/benchmarks/testnet"
11+
"github.com/filecoin-project/boost-graphsync/benchmarks/testnet"
1212
)
1313

1414
const testSeed = 99

benchmarks/testnet/network_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"github.com/libp2p/go-libp2p/core/peer"
1212
"github.com/stretchr/testify/require"
1313

14-
"github.com/ipfs/go-graphsync/benchmarks/testnet"
15-
gsmsg "github.com/ipfs/go-graphsync/message"
16-
gsnet "github.com/ipfs/go-graphsync/network"
14+
"github.com/filecoin-project/boost-graphsync/benchmarks/testnet"
15+
gsmsg "github.com/filecoin-project/boost-graphsync/message"
16+
gsnet "github.com/filecoin-project/boost-graphsync/network"
1717
)
1818

1919
func TestSendMessageAsyncButWaitForResponse(t *testing.T) {

benchmarks/testnet/peernet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/libp2p/go-libp2p/core/peer"
88
mockpeernet "github.com/libp2p/go-libp2p/p2p/net/mock"
99

10-
gsnet "github.com/ipfs/go-graphsync/network"
10+
gsnet "github.com/filecoin-project/boost-graphsync/network"
1111
)
1212

1313
type peernet struct {

benchmarks/testnet/virtual.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
1616
"google.golang.org/protobuf/proto"
1717

18-
gsmsg "github.com/ipfs/go-graphsync/message"
19-
gsmsgv1 "github.com/ipfs/go-graphsync/message/v1"
20-
gsnet "github.com/ipfs/go-graphsync/network"
18+
gsmsg "github.com/filecoin-project/boost-graphsync/message"
19+
gsmsgv1 "github.com/filecoin-project/boost-graphsync/message/v1"
20+
gsnet "github.com/filecoin-project/boost-graphsync/network"
2121
)
2222

2323
// VirtualNetwork generates a new testnet instance - a fake network that

0 commit comments

Comments
 (0)