Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't trash non-empty directories on Windows #3673

Merged
merged 2 commits into from
Jun 12, 2018

Conversation

takluyver
Copy link
Member

It appears that the Windows backend of send2trash can't guarantee that files won't actually be deleted. There are some hints that this happens in particular when you delete a lot of data at once. So this returns to refusing to delete folders unless they're empty (or contain only ipynb checkpoints).

Closes gh-3631

It appears that the Windows backend of send2trash can't guarantee that
files won't actually be deleted. There are some hints that this happens
in particular when you delete a lot of data at once. So this returns to
refusing to delete folders unless they're empty (or contain only ipynb
checkpoints).

Closes jupytergh-3631
@minrk minrk merged commit d9baafa into jupyter:master Jun 12, 2018
@minrk minrk added this to the 5.6 milestone Jun 12, 2018
@takluyver takluyver deleted the win-dir-notrash branch September 6, 2018 18:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accidentally deleted a map(desktop) in jupyter notebook. HELP!
2 participants