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
1f621d0a
Commit
1f621d0a
authored
Sep 09, 2016
by
George Antoniadis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract key and datastore
License: MIT Signed-off-by:
George Antoniadis
<
george@noodles.gr
>
parent
a85c958b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
merkledag.go
merkledag.go
+1
-1
merkledag_test.go
merkledag_test.go
+1
-1
node.go
node.go
+1
-1
test/utils.go
test/utils.go
+2
-2
utils/utils.go
utils/utils.go
+2
-2
No files found.
merkledag.go
View file @
1f621d0a
...
...
@@ -6,8 +6,8 @@ import (
"strings"
"sync"
key
"github.com/ipfs/go-ipfs/blocks/key"
bserv
"github.com/ipfs/go-ipfs/blockservice"
key
"gx/ipfs/Qmce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew/go-key"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
...
...
merkledag_test.go
View file @
1f621d0a
...
...
@@ -10,7 +10,6 @@ import (
"sync"
"testing"
key
"github.com/ipfs/go-ipfs/blocks/key"
bserv
"github.com/ipfs/go-ipfs/blockservice"
bstest
"github.com/ipfs/go-ipfs/blockservice/test"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
...
...
@@ -20,6 +19,7 @@ import (
mdpb
"github.com/ipfs/go-ipfs/merkledag/pb"
dstest
"github.com/ipfs/go-ipfs/merkledag/test"
uio
"github.com/ipfs/go-ipfs/unixfs/io"
key
"gx/ipfs/Qmce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew/go-key"
u
"gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
...
...
node.go
View file @
1f621d0a
...
...
@@ -5,8 +5,8 @@ import (
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
key
"github.com/ipfs/go-ipfs/blocks/key"
mh
"gx/ipfs/QmYf7ng2hG5XBtJA3tN34DQ2GUN5HNksEw1rLDkmr6vGku/go-multihash"
key
"gx/ipfs/Qmce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew/go-key"
cid
"gx/ipfs/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
)
...
...
test/utils.go
View file @
1f621d0a
...
...
@@ -5,8 +5,8 @@ import (
bsrv
"github.com/ipfs/go-ipfs/blockservice"
"github.com/ipfs/go-ipfs/exchange/offline"
dag
"github.com/ipfs/go-ipfs/merkledag"
ds
"gx/ipfs/Qm
NgqJarToRiq2GBaPJhkmW4B5BxS5B74E1rkGvv2JoaTp
/go-datastore"
dssync
"gx/ipfs/Qm
NgqJarToRiq2GBaPJhkmW4B5BxS5B74E1rkGvv2JoaTp
/go-datastore/sync"
ds
"gx/ipfs/Qm
bzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU
/go-datastore"
dssync
"gx/ipfs/Qm
bzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU
/go-datastore/sync"
)
func
Mock
()
dag
.
DAGService
{
...
...
utils/utils.go
View file @
1f621d0a
...
...
@@ -3,9 +3,9 @@ package dagutils
import
(
"errors"
ds
"gx/ipfs/QmNgqJarToRiq2GBaPJhkmW4B5BxS5B74E1rkGvv2JoaTp/go-datastore"
syncds
"gx/ipfs/QmNgqJarToRiq2GBaPJhkmW4B5BxS5B74E1rkGvv2JoaTp/go-datastore/sync"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
ds
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore"
syncds
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore/sync"
bstore
"github.com/ipfs/go-ipfs/blocks/blockstore"
bserv
"github.com/ipfs/go-ipfs/blockservice"
...
...
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