v1.0.4-hotfix1
·
8 commits
to master
since this release
Release Notes - v1.0.4-hotfix1
-
🛠 Refactored File Removal Logic for Better Accuracy
- Enhanced the
IsNeedRemove
method to properly filter files, ensuring:- Empty files and mismatched files (by hash or size) are correctly removed.
- Allowed paths and whitelisted files are preserved.
- Simplified file hash comparison by replacing
CompareHashOptionalMods
withHasFileByHash
for improved clarity and consistency.
- Enhanced the
-
🧹 Code Refactor for Better Readability
- Reordered conditions in the
IsNeedRemove
method to:- Evaluate allowed paths before checking file size.
- Improve the logical flow without introducing functional changes.
- Reordered conditions in the
🔧 Impact:
This hotfix ensures better accuracy in file handling, improves code maintainability, and resolves potential edge cases in file removal logic.
Make sure to apply this hotfix to benefit from the improved file filtering mechanism! 😊