Function cargo_util::paths::remove_with_permission_check

source ยท
fn remove_with_permission_check<F, P>(remove_func: F, p: P) -> Result<()>
where F: Fn(P) -> Result<()>, P: AsRef<Path> + Clone,