MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / expected_properties

Function expected_properties

scripts/ci/select-release-candidates.py:173–184  ·  view source on GitHub ↗
(target: str)

Source from the content-addressed store, hash-verified

171
172
173def expected_properties(target: str) -> tuple[str, str, str, str]:
174 binary = "codebase-memory-mcp.exe" if target.startswith("windows-") else "codebase-memory-mcp"
175 file_format = "pe" if target.startswith("windows-") else "macho" if target.startswith("darwin-") else "elf"
176 architecture = target.split("-")[1]
177 linkage = (
178 "portable"
179 if target.endswith("-portable")
180 else "dynamic"
181 if target.startswith("linux-")
182 else "native"
183 )
184 return binary, file_format, architecture, linkage
185
186
187def sha256_file(path: pathlib.Path, *, expected_size: int) -> str:

Callers 2

validate_candidate_rowFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected