Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Init gx
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Dec 20, 2018
1 parent df916c7 commit e06cddb
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ipldnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ package httpapi

import (
"context"
"errors"
"fmt"
"github.com/pkg/errors"
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
"io/ioutil"
"strconv"

"github.com/ipfs/go-ipfs/core/coreapi/interface"

ipfspath "gx/ipfs/QmRG3XuGwT7GYuAqgWDJBKTzdaHMwAnc1x7J2KHEXNHxzG/go-path"
ipld "gx/ipfs/QmcKKBwfz6FyQdHR2jsXrrF6XeSBXYL86anmWNewpFpoF5/go-ipld-format"
"github.com/ipfs/go-cid"
ipld "github.com/ipfs/go-ipld-format"
ipfspath "github.com/ipfs/go-path"
)

type ipldNode struct {
Expand Down
1 change: 1 addition & 0 deletions name.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package httpapi

import (
"context"

"github.com/ipfs/go-ipfs/core/coreapi/interface"
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
)
Expand Down
54 changes: 54 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"author": "magik6k",
"bugs": {
"url": "https://github.com/ipfs/go-ipfs-http-client"
},
"gx": {
"dvcsimport": "github.com/ipfs/go-ipfs-http-api"
},
"gxDependencies": [
{
"author": "why",
"hash": "QmRG3XuGwT7GYuAqgWDJBKTzdaHMwAnc1x7J2KHEXNHxzG",
"name": "go-path",
"version": "1.1.21"
},
{
"author": "mitchellh",
"hash": "QmdcULN1WCzgoQmcCaUAmEhwcxHYsDrbZ2LvRJKCL8dMrK",
"name": "go-homedir",
"version": "1.0.0"
},
{
"author": "multiformats",
"hash": "QmRKLtwMw131aK7ugC3G7ybpumMz78YrJe5dzneyindvG1",
"name": "go-multiaddr",
"version": "1.3.6"
},
{
"author": "multiformats",
"hash": "QmQVUtnrNGtCRkCMpXgpApfzQjc8FDaDVxHqWH8cnZQeh5",
"name": "go-multiaddr-net",
"version": "1.6.6"
},
{
"author": "whyrusleeping",
"hash": "QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw",
"name": "go-cid",
"version": "0.9.1"
},
{
"author": "magik6k",
"hash": "QmXWZCd8jfaHmt4UDSnjKmGcrQMw95bDGWqEeVLVJjoANX",
"name": "go-ipfs-files",
"version": "2.0.3"
}
],
"gxVersion": "0.12.1",
"language": "go",
"license": "",
"name": "go-ipfs-http-api",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.0.0"
}

6 changes: 3 additions & 3 deletions path.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/ipfs/go-ipfs/core/coreapi/interface"

cid "gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
ipfspath "gx/ipfs/QmRG3XuGwT7GYuAqgWDJBKTzdaHMwAnc1x7J2KHEXNHxzG/go-path"
ipld "gx/ipfs/QmcKKBwfz6FyQdHR2jsXrrF6XeSBXYL86anmWNewpFpoF5/go-ipld-format"
cid "github.com/ipfs/go-cid"
ipld "github.com/ipfs/go-ipld-format"
ipfspath "github.com/ipfs/go-path"
)

func (api *HttpApi) ResolvePath(ctx context.Context, path iface.Path) (iface.ResolvedPath, error) {
Expand Down

0 comments on commit e06cddb

Please sign in to comment.