Skip to main content

absolute

Function absolute 

Source
pub fn absolute(path: impl AsRef<Path>) -> Result<PathBuf, PathError>
Expand description

Make path absolute.

  • Absolute inputs are lexically normalized.
  • Relative inputs are joined with the process current directory, then normalized.

ยงFilesystem access

Reads the current working directory for relative inputs. Does not require the path to exist and does not resolve symlinks.