Skip to content

Commit 051d628

Browse files
authored
Merge pull request #125 from ipfs/gx/update-extract-files
gx: update to use extracted go-ipfs-files
2 parents 46249b4 + 2327d38 commit 051d628

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

.gx/lastpubver

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.1: QmXTmUCBtDUrzDYVzASogLiNph7EBuYqEgPL7QoHNMzUnz
1+
2.0.2: QmVy9gWXWJB8GrQG85Sq7hCknC6ANqZjJCZkRo8Y6sk5tx

cli/parse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
osh "github.com/Kubuxu/go-os-helper"
1616
"github.com/ipfs/go-ipfs-cmdkit"
17-
"github.com/ipfs/go-ipfs-cmdkit/files"
17+
"github.com/ipfs/go-ipfs-files"
1818
logging "github.com/ipfs/go-log"
1919
)
2020

http/client.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import (
1010
"net/url"
1111
"strings"
1212

13-
"github.com/ipfs/go-ipfs-cmdkit"
14-
"github.com/ipfs/go-ipfs-cmdkit/files"
1513
cmds "github.com/ipfs/go-ipfs-cmds"
14+
15+
"github.com/ipfs/go-ipfs-cmdkit"
16+
"github.com/ipfs/go-ipfs-files"
1617
)
1718

1819
const (

http/parse.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import (
99
"strconv"
1010
"strings"
1111

12-
"github.com/ipfs/go-ipfs-cmdkit"
13-
"github.com/ipfs/go-ipfs-cmdkit/files"
1412
cmds "github.com/ipfs/go-ipfs-cmds"
13+
14+
"github.com/ipfs/go-ipfs-cmdkit"
15+
"github.com/ipfs/go-ipfs-files"
1516
)
1617

1718
// parseRequest parses the data in a http.Request and returns a command Request object

package.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"version": "1.2.8"
2626
},
2727
{
28-
"hash": "QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky",
28+
"hash": "Qmde5VP1qUkyQXKCfmEUA7bP64V2HAptbJ7phuPp7jXWwg",
2929
"name": "go-ipfs-cmdkit",
30-
"version": "1.1.3"
30+
"version": "1.2.0"
3131
},
3232
{
3333
"author": "texttheater",
@@ -40,13 +40,19 @@
4040
"hash": "QmXuBJ7DR6k3rmUEKtvVMhwjmXDuJgXXPUt4LQXKBMsU93",
4141
"name": "go-os-helper",
4242
"version": "0.0.0"
43+
},
44+
{
45+
"author": "magik6k",
46+
"hash": "QmPPTbdBVPWgSwtDzL4ftVc5E3TH32oUtnov3RFNwbEoR4",
47+
"name": "go-ipfs-files",
48+
"version": "1.0.0"
4349
}
4450
],
4551
"gxVersion": "0.10.0",
4652
"language": "go",
4753
"license": "MIT",
4854
"name": "go-ipfs-cmds",
4955
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
50-
"version": "2.0.1"
56+
"version": "2.0.2"
5157
}
5258

request.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"reflect"
77

88
"github.com/ipfs/go-ipfs-cmdkit"
9-
"github.com/ipfs/go-ipfs-cmdkit/files"
9+
"github.com/ipfs/go-ipfs-files"
1010
)
1111

1212
// Request represents a call to a command from a consumer

0 commit comments

Comments
 (0)