Function resolve_uri

Source
pub fn resolve_uri(uri_path: &str, root: &Path) -> Result<PathBuf, Error>
Expand description

Resolves the path from a URI against the path to a root directory.

This will return an error under the following conditions: