mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-19 14:08:45 -04:00
- Enhanced `MacOSHandler` to query the database for inode information when handling rename events, allowing detection of renamed files even when the old path no longer exists. - Implemented `get_inode_from_db()` method to facilitate database lookups for inode retrieval. - Updated `handle_single_rename_event()` to utilize the new database query logic, ensuring proper event emission and entry identity preservation. - Registered and unregistered database connections for locations in `LocationWatcher`, improving rename detection accuracy. - Added integration tests to validate rename functionality and ensure no duplicate entries are created during renames.