MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / git

Function git

tests/test_detect_breaking_changes.py:48–50  ·  view source on GitHub ↗
(repo: Path, *args: str)

Source from the content-addressed store, hash-verified

46
47
48def git(repo: Path, *args: str) -> None:
49 identity = ["-c", "user.name=test", "-c", "user.email=test@example.com", "-c", "commit.gpgsign=false"]
50 subprocess.run(["git", *identity, *args], cwd=repo, env=subprocess_env(), check=True, capture_output=True)
51
52
53def write_package(repo: Path, files: dict[str, str]) -> None:

Callers 1

reported_namesFunction · 0.85

Calls 2

subprocess_envFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected