Function cap_primitives::fs::remove_dir

source ยท
pub fn remove_dir(start: &File, path: &Path) -> Result<()>
Expand description

Perform a rmdirat-like operation, ensuring that the resolution of the path never escapes the directory tree rooted at start.