mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 03:18:52 -06:00
refactor: public names for cross-module reads
This commit is contained in:
1 parent
f371790dc6
commit
3853ca2f1c
254 files changed
+2955
-2969
No files matched your search
@@ -136,7 +136,7 @@ def _member_held(member: dict, crcs: frozenset[str], names: frozenset[str]) -> b
|
||||
return named
|
||||
|
||||
|
||||
def _holding_members(paths: list[str], members: list[dict]) -> list[str]:
|
||||
def holding_members(paths: list[str], members: list[dict]) -> list[str]:
|
||||
"""The same-named archives holding the most required members, then the most members.
|
||||
|
||||
FBNeo reads neocd.bin and 000-lo.lo inside neocdz.zip. The primary copy,
|
||||
@@ -157,7 +157,7 @@ def _holding_members(paths: list[str], members: list[dict]) -> list[str]:
|
||||
return [path for path in paths if scores[path] == best]
|
||||
|
||||
|
||||
def _covering_archives(paths: list[str]) -> list[str]:
|
||||
def covering_archives(paths: list[str]) -> list[str]:
|
||||
"""Same-named archives, those holding every ROM each other copy holds.
|
||||
|
||||
Without a declared layout, a primary that is a superset of the other
|
||||
@@ -185,7 +185,7 @@ def _covering_archives(paths: list[str]) -> list[str]:
|
||||
_unreadable_archives: set[str] = set()
|
||||
|
||||
|
||||
def _warn_unreadable_archive(path: str, exc: Exception) -> None:
|
||||
def warn_unreadable_archive(path: str, exc: Exception) -> None:
|
||||
"""Say once that an archive on disk cannot be read.
|
||||
|
||||
Skipped in silence, a truncated ZIP came out as not_found or
|
||||
|
||||
Reference in new issue
Block a user