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-blockservice
Commits
d0390c91
Commit
d0390c91
authored
Nov 28, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bubble up go-datastore deps
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
parent
6faf71a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
blockservice.go
blockservice.go
+1
-1
blockservice_test.go
blockservice_test.go
+2
-2
test/blocks_test.go
test/blocks_test.go
+3
-3
No files found.
blockservice.go
View file @
d0390c91
...
...
@@ -13,7 +13,7 @@ import (
exchange
"github.com/ipfs/go-ipfs/exchange"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
cid
"gx/ipfs/Qmc
EcrBAMrwMyhSjXt4yfyPpzgSuV8HLHavnfmiKCSRqZU
/go-cid"
cid
"gx/ipfs/Qmc
TcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD
/go-cid"
)
var
log
=
logging
.
Logger
(
"blockservice"
)
...
...
blockservice_test.go
View file @
d0390c91
...
...
@@ -8,8 +8,8 @@ import (
butil
"github.com/ipfs/go-ipfs/blocks/blocksutil"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
ds
"gx/ipfs/Qm
bzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU
/go-datastore"
dssync
"gx/ipfs/Qm
bzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU
/go-datastore/sync"
ds
"gx/ipfs/Qm
RWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364
/go-datastore"
dssync
"gx/ipfs/Qm
RWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364
/go-datastore/sync"
)
func
TestWriteThroughWorks
(
t
*
testing
.
T
)
{
...
...
test/blocks_test.go
View file @
d0390c91
...
...
@@ -12,10 +12,10 @@ import (
.
"github.com/ipfs/go-ipfs/blockservice"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
ds
"gx/ipfs/QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364/go-datastore"
dssync
"gx/ipfs/QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364/go-datastore/sync"
u
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
ds
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore"
dssync
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore/sync"
cid
"gx/ipfs/QmcEcrBAMrwMyhSjXt4yfyPpzgSuV8HLHavnfmiKCSRqZU/go-cid"
cid
"gx/ipfs/QmcTcsTvfaeEBRFo1TkFgT8sRmgi1n1LTZpecfVP8fzpGD/go-cid"
)
func
newObject
(
data
[]
byte
)
blocks
.
Block
{
...
...
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