pub fn remove_tree_if_exists(path: &Path) -> Result<bool>
Remove a directory tree when present.
Returns whether an entry was removed.
Returns a contextual error for failures other than a missing path.