mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
refactor: drop the unused core_info_names
This commit is contained in:
1 parent
8a2ef047ab
commit
88e39b6380
1 file changed
-6
@@ -40,12 +40,6 @@ def core_info_blobs(cache_dir: str, offline: bool) -> dict[str, str] | None:
|
||||
return dict(sorted(blobs.items()))
|
||||
|
||||
|
||||
def core_info_names(cache_dir: str, offline: bool) -> list[str] | None:
|
||||
"""Every core the libretro core-info repository describes."""
|
||||
blobs = core_info_blobs(cache_dir, offline)
|
||||
return None if blobs is None else list(blobs)
|
||||
|
||||
|
||||
def load_core_info_record(path: Path = CORE_INFO_RECORD) -> dict[str, str] | None:
|
||||
if not path.is_file():
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user