Skip to content

DITools Beta v2.4.3

Choose a tag to compare

@steveharnell steveharnell released this 11 May 23:10
· 14 commits to main since this release
6852bcd

This update introduces an improvement to the "File Comparator" tool:

This update significantly enhances the File Comparator module with new features, improved error handling, and a more responsive user interface.

Key Updates

New Content Comparison Feature

Added "Compare File Content (Slow)" option for byte-by-byte comparison
Implements filecmp.cmp(shallow=False) for deep file comparison
Content differences clearly reported in results and logs

Enhanced User Experience

UI elements disabled during comparison to prevent unintended actions
More detailed status messages throughout scanning and comparison
Granular progress bar updates showing per-drive progress

Refined Discrepancy Reporting

Clearer distinction between "Missing," "Extra," and "Unique" items
Filtered out duplicate discrepancy messages for single drives
Better reporting logic based on reference drive settings

Technical Improvements

Robust Error Handling

Comprehensive try-except-finally blocks in the main comparison thread
Better exception catching with proper UI reset on errors
Improved error reporting for file system access issues

Logging Enhancements

Added comparison options summary to all log files
Improved log file writing with better error prevention
Added checks to prevent writing logs when no directory is specified

Code and UI Refinements

Enhanced path handling with consistent normalization
Improved logic for skipping hidden directories and files