Files
romm/backend/endpoints/responses
zurdi fc8cfbc6f1 feat(scan): add a files scan that reconciles rom folders incrementally
Files added to an already-scanned folder ROM could only be picked up by a
complete or hashes rescan, which rehash every known file. The new `files`
scan type scans new games like quick and re-lists the files of existing
folder ROMs, hashing only new or changed files and recomputing the
ROM-level hashes only when a top-level file changed. Per-rom update and
unmatched scans reuse the same incremental mode, and the filesystem watcher
enqueues it instead of quick.

Also stores rom_files.last_modified as Double (MariaDB FLOAT rounds a
current mtime to about 128 seconds), adds the CHEAT value missing from the
PostgreSQL category enum, maps `patches/` to the patch category and
excludes upload temp files from scans.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WbesTQXohyAWWcLV5iiEN
2026-09-03 17:11:03 -04:00
..
2026-03-15 09:48:31 -04:00
2026-03-15 09:48:31 -04:00
2026-06-21 17:47:06 -04:00
2026-02-10 08:56:30 -05:00
2026-03-12 23:02:12 -04:00
2026-08-14 10:24:02 +02:00
2026-04-07 09:04:13 -04:00
2025-10-15 16:21:17 -04:00