Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds a check in the remove_dir_all method to avoid removing the root directory. This Gives a simple fix to the case where one wants to remove all files in the filesystem, and therefore calls remove_dir_all on `/`, which would previously fail because it can't delete the root.
- Loading branch information