PM-Prefs (Tag/Farbe/Sterne) lesen+schreiben, Datum Capture Time, Zoom bis einstellbarem Maximum, Ingest im PM-Aufbau (gesperrt/RAW-Filter, Sequenz, inkrementell, Auswerfen), App-Icon

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
Lichtkasten DevandClaude Opus 5.5 committed 2026-11-04 00:05:21 +00:00
1 parent c0ee93995f
commit 8effd1af0c
25 files changed
+885 -131

No files matched your search

@@ -27,7 +27,8 @@ public final class MetadataCache: @unchecked Sendable {
// FNV-1a hash of the path as file name
var h: UInt64 = 0xcbf29ce484222325
for b in folder.standardizedFileURL.path.utf8 { h = (h ^ UInt64(b)) &* 0x100000001b3 }
url = MetadataCache.directory.appendingPathComponent(String(h, radix: 16) + ".json")
// "v2": cache format includes PM Prefs (tag/color class) – older caches are ignored.
url = MetadataCache.directory.appendingPathComponent("v2-" + String(h, radix: 16) + ".json")
if let d = try? Data(contentsOf: url), let e = try? JSONDecoder().decode([String: Entry].self, from: d) {
entries = e
}