Commit a6d0272a authored by Łukasz Magiera's avatar Łukasz Magiera

coreapi: path remainders

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent bbff408d
......@@ -29,13 +29,14 @@ type Path interface {
// ResolvedPath is a resolved Path
type ResolvedPath interface {
// Cid returns cid referred to by path
// Cid returns the CID referred to by path
Cid() *cid.Cid
// Root returns cid of root path
// Root returns the CID of root path
Root() *cid.Cid
//TODO: Path remainder
// Remainder returns unresolved part of the path
Remainder() string
Path
}
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