mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
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