Module deno_runtime::fs_util

source ·

Functions§

  • Normalize all intermediate components of the path (ie. remove “./” and “../” components). Similar to fs::canonicalize() but doesn’t resolve symlinks.
  • Attempts to convert a specifier to a file path. By default, uses the Url crate’s to_file_path() method, but falls back to try and resolve unix-style paths on Windows.