Commit bf7867a2 authored by Łukasz Magiera's avatar Łukasz Magiera

coreapi: update block after update

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent 1ffde91c
...@@ -62,12 +62,16 @@ type BlockStat interface { ...@@ -62,12 +62,16 @@ type BlockStat interface {
type CoreAPI interface { type CoreAPI interface {
// Unixfs returns an implementation of Unixfs API. // Unixfs returns an implementation of Unixfs API.
Unixfs() UnixfsAPI Unixfs() UnixfsAPI
// Block returns an implementation of Block API. // Block returns an implementation of Block API.
Block() BlockAPI Block() BlockAPI
// Dag returns an implementation of Dag API. // Dag returns an implementation of Dag API.
Dag() DagAPI Dag() DagAPI
// Name returns an implementation of Name API. // Name returns an implementation of Name API.
Name() NameAPI Name() NameAPI
// Key returns an implementation of Key API. // Key returns an implementation of Key API.
Key() KeyAPI Key() KeyAPI
......
package options package options
import ( import (
//cid "gx/ipfs/QmeSrf6pzut73u6zLQkRFQ3ygt3k6XFT2kjdYP8Tnkwwyg/go-cid" "gx/ipfs/QmZyZDi491cCNTLfAhwcaDii2Kg4pwKRkhqQzURGDvY6ua/go-multihash"
"gx/ipfs/QmYeKnKpubCMRiq3PGZcTREErthbb5Q9cXsCoSkD9bjEBd/go-multihash"
) )
type BlockPutSettings struct { type BlockPutSettings struct {
......
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