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

Support iCloud Drive "Trash" operations (enter "Trash", "Restore" files, and "Delete forever" files from Trash.) - picklepete/pyicloud#467 #468

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Quick README.rst fix for missing refresh_trash()
Aaron Edwards committed Nov 13, 2024
commit 1c528742fabbed36d7ddb7548b8fa65efaafc566
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -369,6 +369,7 @@ You can also interact with files in the ``trash``:
['DSC08116.JPG']
>>> delete_output = api.drive['Holiday Photos']['2013']['Sicily']['DSC08117.JPG'].delete()
>>> api.drive.refresh_trash()
>>> api.drive.trash.dir()
['DSC08116.JPG', 'DSC08117.JPG']
@@ -387,6 +388,7 @@ You can interact with the ``trash`` similar to a standard directory, with some r
['DSC08117.JPG']
>>> purge_output = api.drive.trash['DSC08117.JPG'].delete_forever()
>>> api.drive.refresh_trash()
>>> api.drive.trash.dir()
[]