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

AppCleaner: Better handling for partial failure during deletion #1403

Merged
merged 2 commits into from
Sep 15, 2024

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Sep 15, 2024

  • 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
16 checks passed
@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