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

Function _git

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

Source from the content-addressed store, hash-verified

2207
2208
2209def _git(cwd: Path, *args: str) -> str:
2210 return subprocess.run(
2211 ["git", "-c", "user.name=t", "-c", "user.email=t@example.com", *args],
2212 cwd=cwd,
2213 capture_output=True,
2214 text=True,
2215 check=True,
2216 ).stdout.strip()
2217
2218
2219def _write_project(path: Path) -> None:

Calls 1

runMethod · 0.45

Tested by

no test coverage detected