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

Function _get_or_download_cli

python/copilot/client.py:1016–1024  ·  view source on GitHub ↗

Get the cached CLI binary, downloading if necessary. Returns the path to the CLI binary, or None if unavailable (dev install with no pinned version, or auto-download disabled).

()

Source from the content-addressed store, hash-verified

1014
1015
1016def _get_or_download_cli() -> str | None:
1017 """Get the cached CLI binary, downloading if necessary.
1018
1019 Returns the path to the CLI binary, or None if unavailable (dev install
1020 with no pinned version, or auto-download disabled).
1021 """
1022 from ._cli_download import get_or_download_cli
1023
1024 return get_or_download_cli()
1025
1026
1027def _extract_transform_callbacks(

Callers 1

__init__Method · 0.85

Calls 1

get_or_download_cliFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…