Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
def
_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
42
def
main() -> int:
Callers
1
main
Function · 0.70
Calls
1
run
Method · 0.45
Tested by
no test coverage detected