Skip to main content

remove_path_beneath

Function remove_path_beneath 

Source
pub fn remove_path_beneath(root: &Path, path: &Path) -> Result<bool, Error>
Expand description

Recursively remove path beneath root without following symlinks, in the path itself or in any parent. Skips (returns false) when a parent is a symlink or missing.