mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-28 20:17:18 -06:00
A scan compares a library folder (and the folders inside it) with the disk without changing anything: new files (the import scan's duplicate rules), missing photos (the Missing Photos rule) and metadata updates (XMP sidecars saved after the photo came in or was last edited here that say something the library doesn't). It runs without the session (SyncInput + scan_with) so the app can scan on a worker thread. folder.synchronize imports the new files in place and, when asked, moves missing photos to Recently Deleted and reads the updated sidecars, all as one "Synchronize Folder" undo step. Only folders the library holds photos in are accepted, never the startup disk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>