mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 10:58:52 -06:00
refactor: place every file through Placed
data_directory_members, pack_data_tree and manifest_core_entries take the Placed record instead of three loose sets and a fold flag, and verify's replay of the builder (_builder_placement), hidden_extras and the emulator pack check keep a Placed of their own. hidden_extras records the sha1 at each taken path through the new Placed content option, which keeps its same-content case twin rule. No behavior change.
This commit is contained in:
1 parent
899f591575
commit
ca3ff1d4c5
15 files changed
+62
-97
No files matched your search
+2
-1
@@ -459,6 +459,7 @@ def _tree_members(
|
||||
from packs import datatrees
|
||||
from model.profiles import load_emulator_profiles
|
||||
from model.platforms import load_platform_config
|
||||
from packs.archive import Placed
|
||||
from packs.paths import flat_arcname
|
||||
|
||||
config = load_platform_config(platform, platforms_dir)
|
||||
@@ -471,7 +472,7 @@ def _tree_members(
|
||||
with contextlib.redirect_stdout(io.StringIO()):
|
||||
for src, full in datatrees.data_directory_members(
|
||||
config.get("systems", {}), registry,
|
||||
platform, base_dest, False, set(), set(), set(),
|
||||
platform, base_dest, Placed(False),
|
||||
core_trees=core_trees,
|
||||
):
|
||||
members[flat_arcname(full, base_dest, True)] = os.path.getsize(src)
|
||||
|
||||
Reference in new issue
Block a user