mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
- Enhanced the `FileByIdQuery` and `FileByPathQuery` implementations to first check the database for file entries, ensuring accurate retrieval as the primary source of truth. - Introduced a fallback mechanism to utilize an ephemeral index if the file is not found in the database, improving resilience and performance. - Updated the logic for processing content identities, media data, and sidecars, ensuring efficient data loading and handling. - Added context-aware comments to clarify the purpose of key code sections, enhancing maintainability and readability.