Open
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
Bug Report: Partial Cache Deletion Issue
Description
The delete_all_caches
function currently returns true
even if only one cache file is deleted successfully. This can be misleading because the function should only return true
if all cache files are deleted.
Steps to Reproduce
- Call
delete_all_caches()
when one or more cache files are missing or locked. - The function may return
true
even if some files were not deleted.
Expected Behavior
- The function should return
true
only if all cache deletions succeed. - If any deletion fails, it should return
false
.
Record
- I agree to follow this project's Code of Conduct
Metadata
Assignees
Labels
No labels