Skip to main content

root_from_path

Function root_from_path 

Source
pub fn root_from_path(path: &Path, name: Option<String>) -> Root
Expand description

Create a Root from a PathBuf.

The path is converted to an absolute file:// URI.