Skip to main content

in_root

Function in_root 

Source
pub fn in_root(root: &Path, rel: &Path) -> Result<PathBuf>
Expand description

rel inside root with every symlink followed in sysroot terms, returned as root joined with a path that holds no symlink. A component that does not exist ends the resolution, and the rest is appended as written, so the result exists exactly when rel does in the sysroot.