Skip to content

Commit

Permalink
reverted boxo changes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
10d9e committed Jun 7, 2023
1 parent 87b171c commit a754d4b
Show file tree
Hide file tree
Showing 8 changed files with 1,868 additions and 1,119 deletions.
16 changes: 8 additions & 8 deletions api/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import (
"context"
"errors"
"fmt"
"github.com/ipfs/boxo/blockstore"
"github.com/ipfs/boxo/ipld/unixfs"
"gorm.io/gorm"
"html/template"
"io"
"net/http"
Expand All @@ -17,18 +14,21 @@ import (
"strings"
"time"

"gorm.io/gorm"

"github.com/application-research/edge-ur/core"
"github.com/application-research/whypfs-core"
"github.com/ipfs/boxo/ipld/merkledag"
"github.com/ipfs/boxo/path"
"github.com/ipfs/go-cid"
"github.com/ipfs/go-merkledag"
"github.com/ipfs/go-path"
"github.com/ipfs/go-unixfs"
"github.com/labstack/echo/v4"

"github.com/gabriel-vasile/mimetype"

uio "github.com/ipfs/boxo/ipld/unixfs/io"
"github.com/ipfs/boxo/path/resolver"
blockstore "github.com/ipfs/go-ipfs-blockstore"
mdagipld "github.com/ipfs/go-ipld-format"
"github.com/ipfs/go-path/resolver"
uio "github.com/ipfs/go-unixfs/io"
"golang.org/x/xerrors"
)

Expand Down
9 changes: 5 additions & 4 deletions api/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ import (
"bytes"
"context"
"fmt"
"strings"
"time"

"github.com/application-research/edge-ur/jobs"
"github.com/application-research/edge-ur/utils"
"github.com/google/uuid"
"github.com/ipfs/boxo/ipld/car"
"github.com/ipfs/go-cid"
"github.com/labstack/echo/v4"
"strings"
"time"
"github.com/ipld/go-car"

"github.com/application-research/edge-ur/core"
"github.com/labstack/echo/v4"
)

type CidRequest struct {
Expand Down
Loading

0 comments on commit a754d4b

Please sign in to comment.