MCPcopy Create free account
hub / github.com/microsoft/debugpy / get_current_commit

Function get_current_commit

subrepo.py:59–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def get_current_commit() -> str:
60 return invoke_output(
61 "git",
62 "config",
63 "--file",
64 f"{_SUBREPO_NAME}/.gitrepo",
65 "subrepo.commit",
66 no_log=True,
67 ).strip()
68
69
70def err_exit(message: str):

Callers 1

branchFunction · 0.85

Calls 1

invoke_outputFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…