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
6d1508da
Commit
6d1508da
authored
Jul 26, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use batching datastore for providers storage
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
parent
196e996d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
merkledag_test.go
merkledag_test.go
+2
-2
test/utils.go
test/utils.go
+2
-2
utils/utils.go
utils/utils.go
+2
-2
No files found.
merkledag_test.go
View file @
6d1508da
...
@@ -21,10 +21,10 @@ import (
...
@@ -21,10 +21,10 @@ import (
dstest
"github.com/ipfs/go-ipfs/merkledag/test"
dstest
"github.com/ipfs/go-ipfs/merkledag/test"
"github.com/ipfs/go-ipfs/pin"
"github.com/ipfs/go-ipfs/pin"
uio
"github.com/ipfs/go-ipfs/unixfs/io"
uio
"github.com/ipfs/go-ipfs/unixfs/io"
ds
"gx/ipfs/QmTxLSvdhwg68WJimdS6icLPhZi28aTp6b7uihC2Yb47Xk/go-datastore"
dssync
"gx/ipfs/QmTxLSvdhwg68WJimdS6icLPhZi28aTp6b7uihC2Yb47Xk/go-datastore/sync"
u
"gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
u
"gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
ds
"gx/ipfs/QmfQzVugPq1w5shWRcLWSeiHF4a2meBX7yVD8Vw7GWJM9o/go-datastore"
dssync
"gx/ipfs/QmfQzVugPq1w5shWRcLWSeiHF4a2meBX7yVD8Vw7GWJM9o/go-datastore/sync"
)
)
type
dagservAndPinner
struct
{
type
dagservAndPinner
struct
{
...
...
test/utils.go
View file @
6d1508da
...
@@ -5,8 +5,8 @@ import (
...
@@ -5,8 +5,8 @@ import (
bsrv
"github.com/ipfs/go-ipfs/blockservice"
bsrv
"github.com/ipfs/go-ipfs/blockservice"
"github.com/ipfs/go-ipfs/exchange/offline"
"github.com/ipfs/go-ipfs/exchange/offline"
dag
"github.com/ipfs/go-ipfs/merkledag"
dag
"github.com/ipfs/go-ipfs/merkledag"
ds
"gx/ipfs/Qm
fQzVugPq1w5shWRcLWSeiHF4a2meBX7yVD8Vw7GWJM9o
/go-datastore"
ds
"gx/ipfs/Qm
TxLSvdhwg68WJimdS6icLPhZi28aTp6b7uihC2Yb47Xk
/go-datastore"
dssync
"gx/ipfs/Qm
fQzVugPq1w5shWRcLWSeiHF4a2meBX7yVD8Vw7GWJM9o
/go-datastore/sync"
dssync
"gx/ipfs/Qm
TxLSvdhwg68WJimdS6icLPhZi28aTp6b7uihC2Yb47Xk
/go-datastore/sync"
)
)
func
Mock
()
dag
.
DAGService
{
func
Mock
()
dag
.
DAGService
{
...
...
utils/utils.go
View file @
6d1508da
...
@@ -3,9 +3,9 @@ package dagutils
...
@@ -3,9 +3,9 @@ package dagutils
import
(
import
(
"errors"
"errors"
ds
"gx/ipfs/QmTxLSvdhwg68WJimdS6icLPhZi28aTp6b7uihC2Yb47Xk/go-datastore"
syncds
"gx/ipfs/QmTxLSvdhwg68WJimdS6icLPhZi28aTp6b7uihC2Yb47Xk/go-datastore/sync"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
ds
"gx/ipfs/QmfQzVugPq1w5shWRcLWSeiHF4a2meBX7yVD8Vw7GWJM9o/go-datastore"
syncds
"gx/ipfs/QmfQzVugPq1w5shWRcLWSeiHF4a2meBX7yVD8Vw7GWJM9o/go-datastore/sync"
bstore
"github.com/ipfs/go-ipfs/blocks/blockstore"
bstore
"github.com/ipfs/go-ipfs/blocks/blockstore"
bserv
"github.com/ipfs/go-ipfs/blockservice"
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