MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _ensure_commit_exists

Function _ensure_commit_exists

tools/test_selector.py:177–178  ·  view source on GitHub ↗
(sha: str, cwd: Path)

Source from the content-addressed store, hash-verified

175
176
177def _ensure_commit_exists(sha: str, cwd: Path) -> None:
178 _run_git(["cat-file", "-e", f"{sha}^{{commit}}"], cwd)
179
180
181def _load_github_event() -> dict[str, Any]:

Callers 1

determine_diff_rangeFunction · 0.85

Calls 1

_run_gitFunction · 0.70

Tested by

no test coverage detected