MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _git

Function _git

tests/test_detect.py:13–18  ·  view source on GitHub ↗
(repo: Path, *args: str)

Source from the content-addressed store, hash-verified

11
12
13def _git(repo: Path, *args: str) -> None:
14 subprocess.run(
15 ["git", "-C", str(repo), *args],
16 check=True,
17 capture_output=True,
18 )
19
20
21def _make_git_dir(repo: Path) -> Path:

Calls 1

runMethod · 0.65

Tested by

no test coverage detected