Crate nu_path

source ·

Modules§

Functions§

  • Resolve all symbolic links and all components (tilde, ., .., …+) and return the path in its absolute form.
  • Get the old default config directory. Outside of Linux, this will ignore XDG_CONFIG_HOME
  • Resolve only path components (tilde, ., .., …+), if possible.
  • Expand tilde (“~”) into a home directory if it is the first path component
  • Resolve to a path that is accepted by the system and no further - tilde is expanded, and ndot path components are expanded.
  • Trim trailing path separator from a string