stash/internal/manager
dev-null-life 784795660b
Skip scanning zip contents when fingerprint is unchanged (#6633)
* Skip scanning zip contents when fingerprint is unchanged

When a zip-based gallery's modification time changes but its content
hash (oshash/md5) remains the same, skip walking and rescanning every
file inside the zip. This avoids expensive per-file fingerprint
recalculation when zip metadata changes without actual content changes.

Closes #6512

* Log a debug message when skipping a zip scan due to unchanged
  fingerprint

---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2026-03-02 15:47:23 +11:00
..
config Fix panic when library path has trailing path separator (#6619) 2026-02-28 10:51:02 +11:00
task Skip directory after deleting it during generated files clean (#6590) 2026-02-19 08:09:58 +11:00
apikey.go Update a number of dependencies (incl. CVE fixes) (#4107) 2023-10-26 16:24:32 +11:00
backup.go Include blobs in backup (#6586) 2026-02-20 09:13:55 +11:00
checksum.go Only set video algorithm after migration 12 (#2946) 2022-09-26 11:27:53 +10:00
downloads.go Improve caching, HTTP headers and URL handling (#3594) 2023-04-19 13:01:32 +10:00
enums.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
exclude_files.go exclude empty regex exclude (#6023) 2025-09-09 15:04:39 +10:00
exclude_files_test.go Restructure go project (#2356) 2022-03-17 11:33:59 +11:00
fingerprint.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
generator.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
generator_interactive_heatmap_speed.go Fix funscript parsing issues (#5978) 2025-06-30 07:52:53 +10:00
generator_sprite.go Custom sprite generation (#6588) 2026-02-20 15:09:59 +11:00
import.go Fix export zip paths when exporting from Windows (#3022) 2022-10-20 11:41:46 +11:00
init.go feat(dlna): add activity tracking for DLNA playback (#6407) 2026-01-05 16:10:52 +11:00
json_utils.go Maintain saved filters in full export/import (#5465) 2024-11-12 16:59:28 +11:00
log.go Restructure ffmpeg (#2392) 2022-04-18 10:50:10 +10:00
manager.go Include blobs in backup (#6586) 2026-02-20 09:13:55 +11:00
manager_tasks.go Fix missing folder corruption during scanning (#6608) 2026-02-27 07:42:53 +11:00
models.go Add SFW content mode option (#6262) 2025-11-18 11:13:35 +11:00
repository.go Backend support for Group custom fields (#6596) 2026-02-23 11:53:12 +11:00
running_streams.go add content-disposition filename header to streams (#6119) 2025-10-09 13:35:11 +11:00
scene.go Model refactor (#3915) 2023-09-01 10:39:29 +10:00
subscribe.go Restructure go project (#2356) 2022-03-17 11:33:59 +11:00
task.go Restructure go project (#2356) 2022-03-17 11:33:59 +11:00
task_autotag.go Make migration an asynchronous task (#4666) 2024-03-14 11:06:23 +11:00
task_clean.go FR: Add Interfaces to Destroy File Database Entries (#6437) 2026-01-27 16:02:47 +11:00
task_export.go Backend support for image custom fields (#6598) 2026-02-24 07:41:40 +11:00
task_generate.go docs: standardize letter casing in settings page (#6548) 2026-02-09 10:55:12 +11:00
task_generate_clip_preview.go Manager refactor, part 1 (#4298) 2023-11-28 13:56:46 +11:00
task_generate_image_phash.go Bugfix: AVIF Image PHash Support (#6556) 2026-02-11 11:38:57 +11:00
task_generate_image_thumbnail.go Debug log stderr when thumbnail generation fails 2025-11-27 14:04:06 +11:00
task_generate_interactive_heatmap_speed.go Update Scenes' 'Updated At' Date on Heatmap Gen & Expand Error Log (#5401) 2024-10-29 12:19:49 +11:00
task_generate_markers.go FR: Allow Marker Screenshot Generation Unconditionally (#6433) 2026-01-05 16:20:01 +11:00
task_generate_phash.go Image phash generation (#6497) 2026-01-27 17:00:56 +11:00
task_generate_preview.go Fix generate task override behaviour (#3661) 2023-05-03 13:42:25 +10:00
task_generate_screenshot.go Return if primary file failed to load (#6200) 2025-10-29 11:11:21 +11:00
task_generate_sprite.go Custom sprite generation (#6588) 2026-02-20 15:09:59 +11:00
task_identify.go Add rate limit to stashbox connection (#5764) 2025-03-27 11:54:00 +11:00
task_import.go Add marker end seconds import/export (#5777) 2025-03-28 16:50:26 +11:00
task_migrate_hash.go [Files Refactor] Performance tuning (#2865) 2022-09-06 07:04:52 +00:00
task_optimise.go Make migration an asynchronous task (#4666) 2024-03-14 11:06:23 +11:00
task_plugin.go Make migration an asynchronous task (#4666) 2024-03-14 11:06:23 +11:00
task_scan.go Skip scanning zip contents when fingerprint is unchanged (#6633) 2026-03-02 15:47:23 +11:00
task_stash_box_tag.go FR: Tags Tagger (#6559) 2026-02-25 11:39:14 +11:00
task_transcode.go Fix ffmpeg error when trying to scale and copy video (#4660) 2024-03-07 09:02:45 +11:00