pub fn root_from_path(path: &Path, name: Option<String>) -> Root
Create a Root from a PathBuf.
PathBuf
The path is converted to an absolute file:// URI.