Function to_absolute

Source
pub fn to_absolute(
    current: impl AsRef<Path>,
    relative: impl AsRef<Path>,
) -> Result<PathBuf>
Expand description

get the absolute path for specified file. Note: the file must exist.