Commit f4e38c09 authored by Łukasz Magiera's avatar Łukasz Magiera Committed by Steven Allen

block cmd: use coreapi

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent 14b366d3
......@@ -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) (ResolvedPath, error)
Put(context.Context, io.Reader, ...options.BlockPutOption) (BlockStat, error)
// Get attempts to resolve the path and return a reader for data in the block
Get(context.Context, Path) (io.Reader, error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment