moonrise-outshoot 2a5b59a96a
Fix duplicate file detection in zip archives (#6493)
When scanning a zip archive duplicate images are being detected as renames rather than duplicates.

This is because in `scanJob.getFileFS` the size of the inner file (`my_archive.zip/001.png`) was being passed to `OpenZip` rather than the size of the zip archive (`my_archive.zip`), causing it to fail when opening the archive. This caused `handleRename` to incorrectly detect it as a rename.

The effects of that are:
- no info on duplicates in the file data
- the file will take the name/path of the final duplicate scanned rather than the first
2026-01-14 14:52:50 +11:00
..
2025-11-26 13:38:19 +11:00
2025-11-26 13:38:19 +11:00
2024-09-11 13:58:02 +10:00
2023-09-01 10:39:29 +10:00
2023-09-01 10:39:29 +10:00
2024-09-11 13:58:02 +10:00