diff --git a/api/docgen/docgen.go b/api/docgen/docgen.go index 5fb90dbe7f1..25b9ac8c9ae 100644 --- a/api/docgen/docgen.go +++ b/api/docgen/docgen.go @@ -15,7 +15,6 @@ import ( "github.com/filecoin-project/go-bitfield" "github.com/google/uuid" "github.com/ipfs/go-cid" - "github.com/ipfs/go-filestore" "github.com/libp2p/go-libp2p-core/metrics" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" @@ -24,7 +23,7 @@ import ( "github.com/multiformats/go-multiaddr" datatransfer "github.com/filecoin-project/go-data-transfer" - filestore2 "github.com/filecoin-project/go-fil-markets/filestore" + filestore "github.com/filecoin-project/go-fil-markets/filestore" "github.com/filecoin-project/go-fil-markets/retrievalmarket" "github.com/filecoin-project/go-jsonrpc/auth" textselector "github.com/ipld/go-ipld-selector-text-lite" @@ -110,7 +109,6 @@ func init() { addExample(abi.UnpaddedPieceSize(1024)) addExample(abi.UnpaddedPieceSize(1024).Padded()) addExample(abi.DealID(5432)) - addExample(filestore.StatusFileChanged) addExample(abi.SectorNumber(9)) addExample(abi.SectorSize(32 * 1024 * 1024 * 1024)) addExample(api.MpoolChange(0)) @@ -178,7 +176,7 @@ func init() { ExampleValues[reflect.TypeOf(struct{ A multiaddr.Multiaddr }{}).Field(0).Type] = maddr // miner specific - addExample(filestore2.Path(".lotusminer/fstmp123")) + addExample(filestore.Path(".lotusminer/fstmp123")) si := uint64(12) addExample(&si) addExample(retrievalmarket.DealID(5)) diff --git a/go.mod b/go.mod index 1cc90104244..3ccc456fd66 100644 --- a/go.mod +++ b/go.mod @@ -77,7 +77,6 @@ require ( github.com/ipfs/go-ds-leveldb v0.4.2 github.com/ipfs/go-ds-measure v0.1.0 github.com/ipfs/go-ds-pebble v0.0.2-0.20200921225637-ce220f8ac459 - github.com/ipfs/go-filestore v1.0.0 github.com/ipfs/go-fs-lock v0.0.6 github.com/ipfs/go-graphsync v0.10.1 github.com/ipfs/go-ipfs-blockstore v1.0.4