Skip to main content

resolve

Function resolve 

Source
pub fn resolve(context: &str, path: &str) -> String
Expand description

Resolve path against a context path: an absolute path (starting with /) stands alone; a relative one, inside a template, extends the context; "" and . are the context itself.