Skip to main content

resolve

Function resolve 

Source
pub fn resolve(base: &str, dest: &str) -> String
Expand description

A destination resolved against the page it is on: an anchor stays an anchor (#x), an address with a scheme is kept, a relative one (guide.md, ../img/a.png) joins the page’s folder: a docs: page gives a docs: page, a web or file page joins as the web does.