pub fn path_within_root(root: &Path, path: &Path) -> Result<bool>
True when path is the same as or nested under root.
path
root