scope refactoring

This commit is contained in:
2026-05-01 01:47:14 +02:00
parent fc725ec65f
commit b8eb744e79
5 changed files with 118 additions and 10 deletions

View File

@@ -257,6 +257,11 @@ def _resolve_path(repo: dict) -> str:
return ""
def resolve_repo_path(repo: dict) -> str:
"""Resolve the repo path using the same host-aware rules as DoI checks."""
return _resolve_path(repo)
def _get_sync(api_base: str, path: str, params: dict | None = None) -> object:
url = f"{api_base}{path}"
if params: