mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 21:08:53 -06:00
refactor: move leaf modules into packages
core: hashing, artifacts, ziptools, deterministic_zip, romdir, sect233r1, crypto_verify, paths (REPO_ROOT). model: safeparse (needs yaml), dumpcatalog, largefiles, alternatives. resolve: nativemode, validation, launchers, slot, truth, gamedata, and exporter/baseline.py and exporter/candidates.py as resolve/reconcile.py and resolve/categories.py, which truth and gamedata read. Every importer follows. Modules one level deeper read the repository root from core.paths instead of __file__.
This commit is contained in:
1 parent
23d8a770f1
commit
c784aef883
167 files changed
+412
-434
No files matched your search
@@ -74,7 +74,7 @@ def _archives_held(fe: dict, db: dict) -> set[str]:
|
||||
holds: by its name, kept when it holds one CRC32 its ``contents:``
|
||||
lists. MAME hashes the members, never the archive, so the entry has no
|
||||
hash of its own and a name match is the only way to it."""
|
||||
from ziptools import zip_member_crcs
|
||||
from core.ziptools import zip_member_crcs
|
||||
|
||||
crcs = {str(m["crc32"]).lower() for m in fe.get("contents") or []
|
||||
if isinstance(m, dict) and m.get("crc32")}
|
||||
|
||||
Reference in new issue
Block a user