[][src]Function to_absolute::to_absolute

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

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