Commit c1ff2149 authored by Brian Tiger Chow's avatar Brian Tiger Chow

doc(core) add TODO

parent 15a6237f
......@@ -299,6 +299,8 @@ func (n *IpfsNode) OnlineMode() bool {
}
}
// TODO expose way to resolve path name
func (n *IpfsNode) Resolve(k util.Key) (*merkledag.Node, error) {
return (&path.Resolver{n.DAG}).ResolvePath(k.String())
}
......
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