pub fn ensure_removed<P: AsRef<Path>>(path: P) -> Result<()>
Expand description

same as remove above, but succeeds for non-existent target, similar to rm -rf.