imports.ImportCtx
What preflight knows about the launch, handed to every placement hook.
What preflight knows about the launch, handed to every placement hook.
Attributes
attributerom_fileOptional[Path]The resolved bootable file, or None.
attributeromOptional[RomRef]The activate body's rom, or None.
attributememory_card_syncedboolWhether the card travels on its own routes this session.
attributeexcludedtuple[str, ...]Subtrees the restore leaves alone this session.
attributeresume_slotOptional[int]The activate's save.resume_slot, or None.
attributememberstuple[ImportMember, ...]= ()Every member that passed hygiene.
attributearchive_pathsfrozenset[str]= frozenset()The same zip's v1 member names, less excluded ones.
attributev1_bytesint= 0Those members' total uncompressed size.
attributememodict[Hashable, object]= field(default_factory=dict, compare=False)Per-preflight cache for hooks, keyed however they like.
Functions
func__init__(self, rom_file, rom, memory_card_synced, excluded, resume_slot, members=(), archive_paths=frozenset(), v1_bytes=0, memo=dict()) -> Noneparamselfparamrom_fileOptional[Path]paramromOptional[RomRef]parammemory_card_syncedboolparamexcludedtuple[str, ...]paramresume_slotOptional[int]parammemberstuple[ImportMember, ...]= ()paramarchive_pathsfrozenset[str]= frozenset()paramv1_bytesint= 0parammemodict[Hashable, object]= dict()Returns
None