Skip to content

Commit

Permalink
chore: migrate files
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jan 11, 2023
1 parent 0f7ec1c commit 9718f34
Show file tree
Hide file tree
Showing 10 changed files with 914 additions and 29 deletions.
2 changes: 1 addition & 1 deletion cli/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

osh "github.com/Kubuxu/go-os-helper"
cmds "github.com/ipfs/go-ipfs-cmds"
files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"
logging "github.com/ipfs/go-log"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"testing"

files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"

cmds "github.com/ipfs/go-ipfs-cmds"
)
Expand Down
2 changes: 1 addition & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"fmt"
"strings"

files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"

logging "github.com/ipfs/go-log"
)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.16

require (
github.com/Kubuxu/go-os-helper v0.0.1
github.com/ipfs/go-ipfs-files v0.0.8
github.com/ipfs/go-libipfs v0.0.0-20230111124659-ad29d57a4248
github.com/ipfs/go-log v1.0.4
github.com/rs/cors v1.7.0
github.com/texttheater/golang-levenshtein v0.0.0-20180516184445-d188e65d659e
golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
)
921 changes: 903 additions & 18 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions http/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"net/url"
"strings"

"github.com/ipfs/go-ipfs-cmds"
cmds "github.com/ipfs/go-ipfs-cmds"

"github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion http/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"

cmds "github.com/ipfs/go-ipfs-cmds"
files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"
)

type VersionOutput struct {
Expand Down
2 changes: 1 addition & 1 deletion http/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

cmds "github.com/ipfs/go-ipfs-cmds"

files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"
)

func newReaderPathFile(t *testing.T, path string, reader io.ReadCloser, stat os.FileInfo) files.File {
Expand Down
2 changes: 1 addition & 1 deletion http/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

cmds "github.com/ipfs/go-ipfs-cmds"

files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"
logging "github.com/ipfs/go-log"
)

Expand Down
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"reflect"

files "github.com/ipfs/go-ipfs-files"
"github.com/ipfs/go-libipfs/files"
)

// Request represents a call to a command from a consumer
Expand Down

0 comments on commit 9718f34

Please sign in to comment.