mirror of
https://github.com/stashapp/stash.git
synced 2026-01-20 23:24:13 +01:00
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 |
||
|---|---|---|
| .. | ||
| image | ||
| video | ||
| clean.go | ||
| delete.go | ||
| file.go | ||
| folder.go | ||
| folder_rename_detect.go | ||
| fs.go | ||
| handler.go | ||
| import.go | ||
| move.go | ||
| scan.go | ||
| walk.go | ||
| zip.go | ||