MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / _repo_root

Function _repo_root

scripts/docs/freeze_current_edge.py:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def _repo_root() -> Path:
33 out = subprocess.run(
34 ["git", "rev-parse", "--show-toplevel"],
35 check=True,
36 capture_output=True,
37 text=True,
38 ).stdout.strip()
39 return Path(out)
40
41
42def main() -> int:

Callers 1

mainFunction · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected