Skip to content

Commit

Permalink
feat: use go-libipfs lib (instead of copying to extern)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc committed Mar 29, 2023
1 parent f5c08c6 commit d4da3cf
Show file tree
Hide file tree
Showing 51 changed files with 17 additions and 6,113 deletions.
6 changes: 3 additions & 3 deletions cmd/booster-http/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ import (
"context"
"errors"
"fmt"
ufile "github.com/ipfs/go-unixfs/file"
gopath "path"

"github.com/filecoin-project/boost/extern/go-libipfs/blocks"
"github.com/filecoin-project/boost/extern/go-libipfs/files"
"github.com/ipfs/go-blockservice"
"github.com/ipfs/go-cid"
bsfetcher "github.com/ipfs/go-fetcher/impl/blockservice"
blockstore "github.com/ipfs/go-ipfs-blockstore"
format "github.com/ipfs/go-ipld-format"
"github.com/ipfs/go-libipfs/blocks"
"github.com/ipfs/go-libipfs/files"
"github.com/ipfs/go-merkledag"
"github.com/ipfs/go-namesys"
"github.com/ipfs/go-namesys/resolve"
ipfspath "github.com/ipfs/go-path"
"github.com/ipfs/go-path/resolver"
"github.com/ipfs/go-unixfs"
ufile "github.com/ipfs/go-unixfs/file"
uio "github.com/ipfs/go-unixfs/io"
"github.com/ipfs/go-unixfsnode"
iface "github.com/ipfs/interface-go-ipfs-core"
Expand Down
2 changes: 1 addition & 1 deletion cmd/booster-http/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var runCmd = &cli.Command{
},
&cli.StringFlag{
Name: "api-filter-endpoint",
Usage: "the endpoint to use for fetching a remote retrieval configuration for bitswap requests",
Usage: "the endpoint to use for fetching a remote retrieval configuration for requests",
},
&cli.StringFlag{
Name: "api-filter-auth",
Expand Down
2 changes: 1 addition & 1 deletion cmd/booster-http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/fatih/color"
"github.com/filecoin-project/boost-gfm/piecestore"
"github.com/filecoin-project/boost-gfm/retrievalmarket"
"github.com/filecoin-project/boost/extern/go-libipfs/gateway"
"github.com/filecoin-project/boost/metrics"
"github.com/filecoin-project/boostd-data/shared/tracing"
"github.com/filecoin-project/dagstore/mount"
Expand All @@ -26,6 +25,7 @@ import (
"github.com/ipfs/go-datastore"
blockstore "github.com/ipfs/go-ipfs-blockstore"
offline "github.com/ipfs/go-ipfs-exchange-offline"
"github.com/ipfs/go-libipfs/gateway"
"go.opencensus.io/stats"
)

Expand Down
229 changes: 0 additions & 229 deletions extern/go-libipfs/LICENSE.md

This file was deleted.

82 changes: 0 additions & 82 deletions extern/go-libipfs/blocks/blocks.go

This file was deleted.

22 changes: 0 additions & 22 deletions extern/go-libipfs/files/README.md

This file was deleted.

Loading

0 comments on commit d4da3cf

Please sign in to comment.