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

Function _git

lib/cli/tests/deploy/test_deploy_main.py:2149–2156  ·  view source on GitHub ↗
(cwd: Path, *args: str)

Source from the content-addressed store, hash-verified

2147
2148
2149def _git(cwd: Path, *args: str) -> str:
2150 return subprocess.run(
2151 ["git", "-c", "user.name=t", "-c", "user.email=t@example.com", *args],
2152 cwd=cwd,
2153 capture_output=True,
2154 text=True,
2155 check=True,
2156 ).stdout.strip()
2157
2158
2159def _write_project(path: Path) -> None:

Calls 1

runMethod · 0.45

Tested by

no test coverage detected