fix: read the clone map beside the scanned tree

This commit is contained in:
Abdessamad Derraz committed 2026-10-09 22:45:57 +02:00
1 parent be2daab00c
commit 82bdcfa1b1
5 files changed
+133 -42

No files matched your search

+3
View File
@@ -386,6 +386,9 @@ def main():
"generated_at": datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"),
"total_files": len(files),
"total_size": total_size,
# The tree these paths belong to: dedup writes _mame_clones.json
# beside it, and the resolver reads the map there, not at the repo root.
"bios_dir": os.path.normpath(args.bios_dir),
"files": files,
"indexes": indexes,
}