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

Function git_commit

scripts/test-impact/coverage-map.py:212–214  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

210
211
212def git_commit(root):
213 proc = subprocess.run(["git", "-C", root, "rev-parse", "HEAD"], capture_output=True, text=True)
214 return proc.stdout.strip() if proc.returncode == 0 else "unknown"
215
216
217

Callers 1

mainFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected