Skip to content

AppCleaner: Better handling for partial failure during deletion#1403

Merged
d4rken merged 2 commits into
mainfrom
appcleaner-deletion-handling
Sep 15, 2024
Merged

AppCleaner: Better handling for partial failure during deletion#1403
d4rken merged 2 commits into
mainfrom
appcleaner-deletion-handling

Conversation

@d4rken

@d4rken d4rken commented Sep 15, 2024

Copy link
Copy Markdown
Member
  • If deletion fails, check if the file actually exists, if it doesn't, treat it as success.
  • Pass all matches to the deletion routine and check (against all data) for any other files that were affected. If a top level folder fails to delete, sub folders may still have been deleted because APath.deleteAll() traveres the tree.

Closes #1391

If deletion fails, check if the file actually exists, if it doesn't, treat it as success.

Closes #1391
Pass all matches to the deletion routine and check (against all data) for any other files that were affected.
If a top level folder fails to delete, sub folders may still have been deleted because `APath.deleteAll()` traveres the tree.

See #1391
@d4rken d4rken added bug Something isn't working as expected c: AppCleaner labels Sep 15, 2024
@d4rken
d4rken merged commit c9e2062 into main Sep 15, 2024
@d4rken
d4rken deleted the appcleaner-deletion-handling branch September 15, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected c: AppCleaner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Appcleaner Errors when deleting

1 participant