scope refactoring
This commit is contained in:
parent
fc725ec65f
commit
b8eb744e79
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