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

Function find_repo_root

tools/test_selector.py:166–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164
165
166def find_repo_root() -> Path:
167 out = _run_git(["rev-parse", "--show-toplevel"], Path.cwd())
168 return Path(out).resolve()
169
170
171def _validate_sha(label: str, sha: str) -> str:

Callers 1

mainFunction · 0.70

Calls 1

_run_gitFunction · 0.70

Tested by

no test coverage detected