Replies: 1 comment
-
Thanks for bringing this up. When looking at the documentation of delete() it's not entirely clear what should happen when a directory is encountered. It's likely that 'single' means 'empty' in case of a directory. This could be validated by looking at the tests, and then an improvement should be made to the docs to clarify. Based on that outcome, a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On Windows, it seems the
delete
function does not delete a directory if it has contents, but will returnOk
. Is this intended behavior? If so, would it be worth adding adelete_recursive
convenience function so users don't have to manually walk the directory tree?Beta Was this translation helpful? Give feedback.
All reactions