@cryptotaxi247 / kubo / commits / a3fb17377

coreapi: reuse go-ipld-node.Link

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

Lars Gierth committed Oct 30, 2016 at 03:09 UTC a3fb17377b56a28ef4e2e62dd620f179cf8bb7df
1 file changed +2 -5
core/coreiface/interface.go
+2 -5
@@ -5,6 +5,7 @@ import (
5 "errors"
6 "io"
7
8 + ipld "gx/ipfs/QmU7bFWQ793qmvNy7outdCaMfSDNk8uqhx4VNrxYj5fj5g/go-ipld-node"
9 cid "gx/ipfs/QmXfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY/go-cid"
10 )
11
@@ -13,11 +14,7 @@ import (
14 // Version() CoreVersion
15 // }
16
16 -type Link struct {
17 - Name string
18 - Size uint64
19 - Cid *cid.Cid
20 -}
17 +type Link ipld.Link
18
19 type Reader interface {
20 io.ReadSeeker