mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 10:37:54 -06:00
refactor: public names for cross-module reads
This commit is contained in:
1 parent
f371790dc6
commit
3853ca2f1c
254 files changed
+2955
-2969
No files matched your search
@@ -407,6 +407,6 @@ def build_revision(profile: dict, platform: str) -> str | None:
|
||||
return None
|
||||
|
||||
|
||||
def _on_own_revision(view: RepoView, tagged: dict[tuple[str, str], str]) -> bool:
|
||||
def reads_own_revision(view: RepoView, tagged: dict[tuple[str, str], str]) -> bool:
|
||||
"""Whether a view is read at its own revision: on HEAD, or on its tag."""
|
||||
return view.pin == view.head or (view.repo.host, view.repo.slug) in tagged
|
||||
Reference in new issue
Block a user