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
interface-go-dms3-core
Commits
f4e38c09
Commit
f4e38c09
authored
Aug 02, 2018
by
Łukasz Magiera
Committed by
Steven Allen
Aug 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
block cmd: use coreapi
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
14b366d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
block.go
block.go
+1
-1
No files found.
block.go
View file @
f4e38c09
...
...
@@ -19,7 +19,7 @@ type BlockStat interface {
// BlockAPI specifies the interface to the block layer
type
BlockAPI
interface
{
// Put imports raw block data, hashing it using specified settings.
Put
(
context
.
Context
,
io
.
Reader
,
...
options
.
BlockPutOption
)
(
ResolvedP
at
h
,
error
)
Put
(
context
.
Context
,
io
.
Reader
,
...
options
.
BlockPutOption
)
(
BlockSt
at
,
error
)
// Get attempts to resolve the path and return a reader for data in the block
Get
(
context
.
Context
,
Path
)
(
io
.
Reader
,
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