mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 22:38:54 -06:00
refactor: split resolve_local_file stages
This commit is contained in:
1 parent
39a4c86917
commit
2d79a2e1b5
16 files changed
+690
-650
No files matched your search
@@ -38,7 +38,7 @@ def held_file(entry: dict, db: dict, root: Path) -> Path | None:
|
||||
def held_variants(entry: dict, db: dict, root: Path, primary: Path) -> list[Path]:
|
||||
"""The .variants/ copies standing in for the primary held_file chose, in
|
||||
the checkout at root."""
|
||||
from resolve.localfile import variant_copies
|
||||
from resolve.lookup import variant_copies
|
||||
|
||||
hint = entry.get("path") if isinstance(entry.get("path"), str) else ""
|
||||
stored = primary.relative_to(root) if primary.is_relative_to(root) else primary
|
||||
|
||||
Reference in new issue
Block a user