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-dms3-blockstore
Commits
9a4a84b7
Commit
9a4a84b7
authored
Dec 12, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc(blockstore) comment
License: MIT Signed-off-by:
Brian Tiger Chow
<
brian@perfmode.com
>
parent
c5a445d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
blockstore.go
blockstore.go
+1
-0
No files found.
blockstore.go
View file @
9a4a84b7
...
@@ -14,6 +14,7 @@ import (
...
@@ -14,6 +14,7 @@ import (
var
ValueTypeMismatch
=
errors
.
New
(
"The retrieved value is not a Block"
)
var
ValueTypeMismatch
=
errors
.
New
(
"The retrieved value is not a Block"
)
// Blockstore wraps a ThreadSafeDatastore
type
Blockstore
interface
{
type
Blockstore
interface
{
DeleteBlock
(
u
.
Key
)
error
DeleteBlock
(
u
.
Key
)
error
Has
(
u
.
Key
)
(
bool
,
error
)
Has
(
u
.
Key
)
(
bool
,
error
)
...
...
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