@cryptotaxi247 / kubo / commits / a4a55e779

coreapi: add Add()

License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org> This commit was moved from ipfs/interface-go-ipfs-core@87e9bc0419bdabee9aa6534e53a669484ac2e706 This commit was moved from ipfs/boxo@b83c5e3fc362276e9bfa6a34848598556289bdfa

Lars Gierth committed Sep 20, 2016 at 04:30 UTC a4a55e7799c0b5814d14825650fe496d6a229ed8
1 file changed +1
core/coreiface/interface.go
+1
@@ -25,6 +25,7 @@ type Reader interface {
25 }
26
27 type UnixfsAPI interface {
28 + Add(context.Context, io.Reader) (*cid.Cid, error)
29 Cat(context.Context, string) (Reader, error)
30 Ls(context.Context, string) ([]*Link, error)
31 }