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
fcea3278
Commit
fcea3278
authored
Feb 02, 2017
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update go-multihash and bubble up deps
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
99cea5f1
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
20 additions
and
20 deletions
+20
-20
coding.go
coding.go
+2
-2
merkledag.go
merkledag.go
+3
-3
merkledag_test.go
merkledag_test.go
+3
-3
node.go
node.go
+3
-3
node_test.go
node_test.go
+1
-1
raw.go
raw.go
+3
-3
traverse/traverse.go
traverse/traverse.go
+1
-1
traverse/traverse_test.go
traverse/traverse_test.go
+1
-1
utils/diff.go
utils/diff.go
+1
-1
utils/utils.go
utils/utils.go
+1
-1
utils/utils_test.go
utils/utils_test.go
+1
-1
No files found.
coding.go
View file @
fcea3278
...
...
@@ -6,8 +6,8 @@ import (
pb
"github.com/ipfs/go-ipfs/merkledag/pb"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16/go-ipld-node
"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid
"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node
"
)
// for now, we use a PBNode intermediate thing.
...
...
merkledag.go
View file @
fcea3278
...
...
@@ -11,10 +11,10 @@ import (
bserv
"github.com/ipfs/go-ipfs/blockservice"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
node
"gx/ipfs/QmRSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16/go-ipld-node"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
ipldcbor
"gx/ipfs/QmT1B6cKXnMMki8nbuhrnLuiU32HLvwi6xe99bJ79482UK/go-ipld-cbor"
cid
"gx/ipfs/QmcTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid"
cid
"gx/ipfs/QmV5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid"
ipldcbor
"gx/ipfs/QmWcQMNruWC3wphK1L6zEcV4MZBJqfsNKSRFcuo4AsNk4k/go-ipld-cbor"
node
"gx/ipfs/QmYDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node"
)
var
log
=
logging
.
Logger
(
"merkledag"
)
...
...
merkledag_test.go
View file @
fcea3278
...
...
@@ -23,9 +23,9 @@ import (
dstest
"github.com/ipfs/go-ipfs/merkledag/test"
uio
"github.com/ipfs/go-ipfs/unixfs/io"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16/go-ipld-node
"
u
"gx/ipfs/Qm
b912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util
"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid
"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util
"
)
func
TestNode
(
t
*
testing
.
T
)
{
...
...
node.go
View file @
fcea3278
...
...
@@ -5,9 +5,9 @@ import (
"encoding/json"
"fmt"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16/go-ipld-node
"
mh
"gx/ipfs/QmYD
ds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J/go-multihash
"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid
"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
node
"gx/ipfs/QmYD
scK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node
"
mh
"gx/ipfs/Qm
bZ6Cee2uHjG7hf19qLHppgKDRtaG4CVtMzdmK9VCVqLu/go-multihash
"
)
var
ErrNotProtobuf
=
fmt
.
Errorf
(
"expected protobuf dag node"
)
...
...
node_test.go
View file @
fcea3278
...
...
@@ -8,7 +8,7 @@ import (
.
"github.com/ipfs/go-ipfs/merkledag"
mdtest
"github.com/ipfs/go-ipfs/merkledag/test"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16
/go-ipld-node"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7
/go-ipld-node"
)
func
TestRemoveLink
(
t
*
testing
.
T
)
{
...
...
raw.go
View file @
fcea3278
...
...
@@ -3,9 +3,9 @@ package merkledag
import
(
"github.com/ipfs/go-ipfs/blocks"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16/go-ipld-node
"
u
"gx/ipfs/Qm
b912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util
"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid
"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid
"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util
"
)
type
RawNode
struct
{
...
...
traverse/traverse.go
View file @
fcea3278
...
...
@@ -5,7 +5,7 @@ import (
"context"
"errors"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16
/go-ipld-node"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7
/go-ipld-node"
)
// Order is an identifier for traversal algorithm orders
...
...
traverse/traverse_test.go
View file @
fcea3278
...
...
@@ -8,7 +8,7 @@ import (
mdag
"github.com/ipfs/go-ipfs/merkledag"
mdagtest
"github.com/ipfs/go-ipfs/merkledag/test"
node
"gx/ipfs/Qm
RSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16
/go-ipld-node"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7
/go-ipld-node"
)
func
TestDFSPreNoSkip
(
t
*
testing
.
T
)
{
...
...
utils/diff.go
View file @
fcea3278
...
...
@@ -7,7 +7,7 @@ import (
dag
"github.com/ipfs/go-ipfs/merkledag"
context
"context"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD
/go-cid"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk
/go-cid"
)
const
(
...
...
utils/utils.go
View file @
fcea3278
...
...
@@ -10,9 +10,9 @@ import (
dag
"github.com/ipfs/go-ipfs/merkledag"
path
"github.com/ipfs/go-ipfs/path"
node
"gx/ipfs/QmRSU5EqqWVZSNdbU51yXmVoF1uNw3JgTNB6RaiL7DZM16/go-ipld-node"
ds
"gx/ipfs/QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364/go-datastore"
syncds
"gx/ipfs/QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364/go-datastore/sync"
node
"gx/ipfs/QmYDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node"
)
type
Editor
struct
{
...
...
utils/utils_test.go
View file @
fcea3278
...
...
@@ -8,7 +8,7 @@ import (
path
"github.com/ipfs/go-ipfs/path"
context
"context"
cid
"gx/ipfs/Qm
cTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD
/go-cid"
cid
"gx/ipfs/Qm
V5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk
/go-cid"
)
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