webstation-broker
DeveloperPython referenceemulatorsemulators.retroarch_cores

emulators.retroarch_cores.Catalog

The cores an operator may pick: in core-info and built for x86_64.

The cores an operator may pick: in core-info and built for x86_64.

Attributes

attributecoresMapping[str, CoreInfo]

Core name to its info, read-only.

attributeinfo_zipbytes

The zip the catalog was built from, for installing .info files.

attributecache_zipOptional[bytes]
= None

The zip a background refresh wrote, or None before any refresh has landed.

attributeprotectedfrozenset[str]
= frozenset()

Cores a refresh may never change: every default, every alternate and every core in TIERS. info_file never serves one of these from cache_zip, even when the merged catalog holds one.

Functions

funcinfo_file(self, core) -> Optional[bytes]

The core's .info file, preferring the refreshed zip for an unprotected core.

paramself
paramcorestr

The core name.

Returns

typing.Optional

The file's bytes, or None when the catalog lacks it. A protected core

func__init__(self, cores, info_zip, cache_zip=None, protected=frozenset()) -> None
paramself
paramcoresMapping[str, CoreInfo]
paraminfo_zipbytes
paramcache_zipOptional[bytes]
= None
paramprotectedfrozenset[str]
= frozenset()

Returns

None

On this page