pub fn absolute_path(path: &Path) -> Result<Cow<'_, Path>>Expand description
Absolutize a given path with the current working directory.
This function, unlike std::fs::canonicalize does not hit the filesystem and so does not require the input path to exist yet.
Examples:
./somewhere -> /absolute/./somewhere
.\somewhere -> C:\somewhere
in the future consider replacing with std::path::absolute once stable