Function deno_runtime::fs_util::canonicalize_path
source · pub fn canonicalize_path(path: &Path) -> Result<PathBuf, Error>
Expand description
Similar to std::fs::canonicalize()
but strips UNC prefixes on Windows.
pub fn canonicalize_path(path: &Path) -> Result<PathBuf, Error>
Similar to std::fs::canonicalize()
but strips UNC prefixes on Windows.