fix: dedup walks only the files the scan indexes

This commit is contained in:
Abdessamad Derraz committed 2026-11-23 23:07:45 +01:00
1 parent f896893b6e
commit 64db75a6ee
5 files changed
+51 -31

No files matched your search

+4 -2
View File
@@ -49,7 +49,8 @@ COMMANDS = {
"retired_files.py": ("model/retired.py", "collection/retiredhistory.py"),
"region_audit.py": ("resolve/regionaudit.py",),
"dedup.py": (
"model/nodedup.py", "collection/dedup.py", "collection/duplicates.py",
"model/nodedup.py", "collection/dedup.py",
"collection/duplicates.py", "core/collectionfiles.py",
"collection/clonemap.py", "model/database.py",
),
"release_record.py": ("model/releaserecord.py", "release/record.py"),
@@ -134,7 +135,8 @@ COMMANDS = {
"schemas/romfolders.py", "schemas/games.py", "schemas/run.py",
),
"generate_db.py": (
"collection/scan.py", "collection/hashcache.py", "collection/releaseassets.py",
"collection/scan.py", "core/collectionfiles.py", "collection/hashcache.py",
"collection/releaseassets.py",
"collection/declared.py", "collection/aliases.py", "collection/indexes.py",
"collection/record.py", "collection/run.py",
),
+1 -1
View File
@@ -28,7 +28,7 @@ except ImportError:
from model.profiles import load_emulator_profiles, emulator_profiles_cache
from resolve.directories import directory_members
from collection.indexes import build_indexes
from collection.scan import should_skip
from core.collectionfiles import should_skip
from packs import emulatorpack
from packs import manifest as packs_manifest
from packs import platformpack