Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-merkledag
Commits
7d6ffbdf
Commit
7d6ffbdf
authored
Oct 12, 2016
by
Jeromy Johnson
Committed by
GitHub
Oct 12, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3297 from ipfs/feat/bitswap-cid
bitswap: protocol extension to handle cids
parents
b7b352fe
a3c90040
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
coding.go
coding.go
+1
-1
merkledag.go
merkledag.go
+1
-1
merkledag_test.go
merkledag_test.go
+1
-1
node.go
node.go
+1
-1
utils/diff.go
utils/diff.go
+1
-1
utils/utils_test.go
utils/utils_test.go
+1
-1
No files found.
coding.go
View file @
7d6ffbdf
...
@@ -6,8 +6,8 @@ import (
...
@@ -6,8 +6,8 @@ import (
pb
"github.com/ipfs/go-ipfs/merkledag/pb"
pb
"github.com/ipfs/go-ipfs/merkledag/pb"
cid
"gx/ipfs/QmXUuRadqDq5BuFWzVU6VuKaSjTcNm1gNCtLvvP1TJCW4z/go-cid"
mh
"gx/ipfs/QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash"
mh
"gx/ipfs/QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid"
u
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
u
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
)
)
...
...
merkledag.go
View file @
7d6ffbdf
...
@@ -12,7 +12,7 @@ import (
...
@@ -12,7 +12,7 @@ import (
offline
"github.com/ipfs/go-ipfs/exchange/offline"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
cid
"gx/ipfs/Qm
akyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro
/go-cid"
cid
"gx/ipfs/Qm
XUuRadqDq5BuFWzVU6VuKaSjTcNm1gNCtLvvP1TJCW4z
/go-cid"
)
)
var
log
=
logging
.
Logger
(
"merkledag"
)
var
log
=
logging
.
Logger
(
"merkledag"
)
...
...
merkledag_test.go
View file @
7d6ffbdf
...
@@ -22,7 +22,7 @@ import (
...
@@ -22,7 +22,7 @@ import (
key
"gx/ipfs/QmYEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9/go-key"
key
"gx/ipfs/QmYEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9/go-key"
"context"
"context"
cid
"gx/ipfs/Qm
akyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro
/go-cid"
cid
"gx/ipfs/Qm
XUuRadqDq5BuFWzVU6VuKaSjTcNm1gNCtLvvP1TJCW4z
/go-cid"
u
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
u
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
)
)
...
...
node.go
View file @
7d6ffbdf
...
@@ -5,9 +5,9 @@ import (
...
@@ -5,9 +5,9 @@ import (
"context"
"context"
cid
"gx/ipfs/QmXUuRadqDq5BuFWzVU6VuKaSjTcNm1gNCtLvvP1TJCW4z/go-cid"
mh
"gx/ipfs/QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash"
mh
"gx/ipfs/QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash"
key
"gx/ipfs/QmYEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9/go-key"
key
"gx/ipfs/QmYEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9/go-key"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid"
)
)
var
ErrLinkNotFound
=
fmt
.
Errorf
(
"no link by that name"
)
var
ErrLinkNotFound
=
fmt
.
Errorf
(
"no link by that name"
)
...
...
utils/diff.go
View file @
7d6ffbdf
...
@@ -8,7 +8,7 @@ import (
...
@@ -8,7 +8,7 @@ import (
dag
"github.com/ipfs/go-ipfs/merkledag"
dag
"github.com/ipfs/go-ipfs/merkledag"
context
"context"
context
"context"
cid
"gx/ipfs/Qm
akyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro
/go-cid"
cid
"gx/ipfs/Qm
XUuRadqDq5BuFWzVU6VuKaSjTcNm1gNCtLvvP1TJCW4z
/go-cid"
)
)
const
(
const
(
...
...
utils/utils_test.go
View file @
7d6ffbdf
...
@@ -8,7 +8,7 @@ import (
...
@@ -8,7 +8,7 @@ import (
path
"github.com/ipfs/go-ipfs/path"
path
"github.com/ipfs/go-ipfs/path"
context
"context"
context
"context"
cid
"gx/ipfs/Qm
akyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro
/go-cid"
cid
"gx/ipfs/Qm
XUuRadqDq5BuFWzVU6VuKaSjTcNm1gNCtLvvP1TJCW4z
/go-cid"
)
)
func
TestAddLink
(
t
*
testing
.
T
)
{
func
TestAddLink
(
t
*
testing
.
T
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment