refactor: make the names pack modules share public

This commit is contained in:
Abdessamad Derraz committed 2026-11-24 06:17:48 +01:00
1 parent 6c48409912
commit c186a2acbd
11 files changed
+92 -92

No files matched your search

+2 -2
View File
@@ -322,7 +322,7 @@ def entry_source(f: dict, index: dict) -> str | None:
return "bios" if held is not None else found
def _resolve_archive_source(
def resolve_archive_source(
archive_name: str,
by_name: dict[str, list],
by_name_lower: dict[str, str],
@@ -522,7 +522,7 @@ class _ProfileComparison:
f.get("mode", "both"),
)
if archive_key not in self.archive_gaps:
source = _resolve_archive_source(
source = resolve_archive_source(
archive, self.index["by_name"], self.index["by_name_lower"],
self.index["data_names"], self.index["by_path_suffix"],
)