You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My expectation when I call rm is that only one of 2 things will happen - either:
All files were deleted successfully
Or an error is raised
I'm fine with some of the files having been deleted and some not so long as an exception is raised telling me that not all of the files/folders I requested to be deleted were able to be deleted.
The text was updated successfully, but these errors were encountered:
rm() expands its inputs (globs and maybe recursive) and returns the list of deleted files. If no file were found, it should raise FileNotFound I suppose.
In _bulk_delete there is a comment to extract errors from files found but not deleted. This should be filled out.
I'm observing that
rm
is swallowing underlying errors and not deleting the files it was requested to delete:i.e.
rm
is failing silently.My expectation when I call
rm
is that only one of 2 things will happen - either:I'm fine with some of the files having been deleted and some not so long as an exception is raised telling me that not all of the files/folders I requested to be deleted were able to be deleted.
The text was updated successfully, but these errors were encountered: