Commit 87e9bc04 authored by Lars Gierth's avatar Lars Gierth

coreapi: add Add()

License: MIT
Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
parent d6cc518f
......@@ -25,6 +25,7 @@ type Reader interface {
}
type UnixfsAPI interface {
Add(context.Context, io.Reader) (*cid.Cid, error)
Cat(context.Context, string) (Reader, error)
Ls(context.Context, string) ([]*Link, 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