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 ( ...@@ -5,6 +5,7 @@ import (
"errors" "errors"
"io" "io"
ipld "gx/ipfs/QmU7bFWQ793qmvNy7outdCaMfSDNk8uqhx4VNrxYj5fj5g/go-ipld-node"
cid "gx/ipfs/QmXfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY/go-cid" cid "gx/ipfs/QmXfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY/go-cid"
) )
...@@ -13,11 +14,7 @@ import ( ...@@ -13,11 +14,7 @@ import (
// Version() CoreVersion // Version() CoreVersion
// } // }
type Link struct { type Link ipld.Link
Name string
Size uint64
Cid *cid.Cid
}
type Reader interface { type Reader interface {
io.ReadSeeker 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