MCPcopy Index your code
hub / github.com/github/copilot-sdk / get_download_url

Function get_download_url

python/copilot/_cli_version.py:82–87  ·  view source on GitHub ↗

Return the download URL for a given version and archive.

(version: str, archive_name: str)

Source from the content-addressed store, hash-verified

80
81
82def get_download_url(version: str, archive_name: str) -> str:
83 """Return the download URL for a given version and archive."""
84 import os
85
86 base = os.environ.get("COPILOT_CLI_DOWNLOAD_BASE_URL", _DOWNLOAD_BASE_URL)
87 return f"{base}/v{version}/{archive_name}"
88
89
90def get_checksums_url(version: str) -> str:

Callers 1

download_cliFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…