Commit c34bbcac authored by Lars Gierth's avatar Lars Gierth

coreapi: reuse go-ipld-node.Link

License: MIT
Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
parent 87e9bc04
......@@ -5,6 +5,7 @@ import (
"errors"
"io"
ipld "gx/ipfs/QmU7bFWQ793qmvNy7outdCaMfSDNk8uqhx4VNrxYj5fj5g/go-ipld-node"
cid "gx/ipfs/QmXfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY/go-cid"
)
......@@ -13,11 +14,7 @@ import (
// Version() CoreVersion
// }
type Link struct {
Name string
Size uint64
Cid *cid.Cid
}
type Link ipld.Link
type Reader interface {
io.ReadSeeker
......
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