nu_path

Module expansions

Source

Functions§

  • Resolve all symbolic links and all components (tilde, ., .., …+) and return the path in its absolute form.
  • Resolve only path components (tilde, ., .., …+), if possible.
  • Resolve to a path that is accepted by the system and no further - tilde is expanded, and ndot path components are expanded.
  • Attempts to canonicalize the path against the current directory. Failing that, if the path is relative, it attempts all of the dirs in dirs. If that fails, it returns the original error.