MCPcopy Index your code
hub / github.com/commandoperator/cmdop-sdk / _binary_name

Function _binary_name

python/src/cmdop/_locate.py:51–55  ·  view source on GitHub ↗

The host's baked binary filename, e.g. ``cmdop-core-darwin-arm64``.

()

Source from the content-addressed store, hash-verified

49
50
51def _binary_name() -> str:
52 """The host's baked binary filename, e.g. ``cmdop-core-darwin-arm64``."""
53 slug = _host_slug()
54 exe = ".exe" if sys.platform == "win32" else ""
55 return f"cmdop-core-{slug}{exe}"
56
57
58def _make_executable(path: str) -> None:

Callers 2

locate_binaryFunction · 0.85

Calls 1

_host_slugFunction · 0.85