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

Feature: retrieve files from trash #4

Open
takluyver opened this issue Jun 22, 2015 · 0 comments
Open

Feature: retrieve files from trash #4

takluyver opened this issue Jun 22, 2015 · 0 comments

Comments

@takluyver
Copy link
Contributor

In a GUI application considering using send2trash, we would like to have an 'undo' button, similar to the experience when you delete a conversation in GMail. I've no idea how hard this would be to implement, but it would be nice if S2T provided a simple API to get a file back. Something like:

trash_handle = send2trash('some_file')
restore(trash_handle)

Cross link jupyter/notebook#165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants