[src]

Function std::os::make_absolute

pub fn make_absolute(p: &Path) -> Path

Convert a relative path to an absolute path

If the given path is relative, return it prepended with the current working directory. If the given path is already an absolute path, return it as is.