deno_path_util

Function url_from_file_path

Source
pub fn url_from_file_path(path: &Path) -> Result<Url, PathToUrlError>