scope refactoring
This commit is contained in:
parent
9f559e640f
commit
01af0f8810
5 changed files with 118 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue