Skip to content

Commit 1916619

Browse files
authored
Cleanup project imports (#327)
* feat(imports): write import script, make scripts dir * style(imports): fix imports to fit expected format * fix(scripts): fix script for speed remove two unneccesary steps * build(imports): fix makefile, contributing, circle Setup make tasks for imports and other PR checks, add circle check on imports * fix(cborgen): remove cborgen'd changes
1 parent a427ebd commit 1916619

File tree

5 files changed

+29
-18
lines changed

5 files changed

+29
-18
lines changed

pieceio/mocks/CarIO.go

Lines changed: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pieceio/mocks/PieceIO.go

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pieceio/pieceio.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ import (
66
"os"
77
"sync"
88

9-
"github.com/filecoin-project/go-padreader"
10-
"github.com/filecoin-project/sector-storage/ffiwrapper"
11-
"github.com/filecoin-project/specs-actors/actors/abi"
129
"github.com/ipfs/go-cid"
1310
blockstore "github.com/ipfs/go-ipfs-blockstore"
1411
"github.com/ipld/go-car"
1512
"github.com/ipld/go-ipld-prime"
1613

14+
"github.com/filecoin-project/go-padreader"
15+
"github.com/filecoin-project/sector-storage/ffiwrapper"
16+
"github.com/filecoin-project/specs-actors/actors/abi"
17+
1718
"github.com/filecoin-project/go-fil-markets/filestore"
1819
)
1920

pieceio/pieceio_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import (
77
"io"
88
"testing"
99

10-
"github.com/filecoin-project/sector-storage/ffiwrapper"
11-
"github.com/filecoin-project/specs-actors/actors/abi"
1210
"github.com/ipfs/go-cid"
1311
dag "github.com/ipfs/go-merkledag"
1412
dstest "github.com/ipfs/go-merkledag/test"
@@ -18,6 +16,9 @@ import (
1816
"github.com/stretchr/testify/mock"
1917
"github.com/stretchr/testify/require"
2018

19+
"github.com/filecoin-project/sector-storage/ffiwrapper"
20+
"github.com/filecoin-project/specs-actors/actors/abi"
21+
2122
"github.com/filecoin-project/go-fil-markets/filestore"
2223
fsmocks "github.com/filecoin-project/go-fil-markets/filestore/mocks"
2324
"github.com/filecoin-project/go-fil-markets/pieceio"

pieceio/types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ package pieceio
33
import (
44
"io"
55

6-
"github.com/filecoin-project/specs-actors/actors/abi"
76
blocks "github.com/ipfs/go-block-format"
87
"github.com/ipfs/go-cid"
98
"github.com/ipld/go-car"
109
"github.com/ipld/go-ipld-prime"
1110

11+
"github.com/filecoin-project/specs-actors/actors/abi"
12+
1213
"github.com/filecoin-project/go-fil-markets/filestore"
1314
)
1415

0 commit comments

Comments
 (0)