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

Function tool_version

scripts/test-impact/coverage-map.py:206–209  ·  view source on GitHub ↗
(tool)

Source from the content-addressed store, hash-verified

204
205
206def tool_version(tool):
207 proc = subprocess.run([tool, "--version"], capture_output=True, text=True)
208 lines = [line.strip() for line in proc.stdout.splitlines() if line.strip()]
209 return lines[0] if lines else "unknown"
210
211
212def git_commit(root):

Callers 1

mainFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected