MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _git_ahead_behind

Function _git_ahead_behind

deployments/desktop/shared/agents.py:1380–1386  ·  view source on GitHub ↗
(repo_dir: Path, branch: str)

Source from the content-addressed store, hash-verified

1378 input=input,
1379 capture_output=True,
1380 check=check,
1381 timeout=timeout,
1382 )
1383
1384
1385def _git_output(args: List[str], cwd: Path, *, timeout: int = 60) -> str:
1386 result = _run_git(args, cwd, timeout=timeout)
1387 return (result.stdout or "").strip()
1388
1389

Callers 1

Calls 1

_git_outputFunction · 0.85

Tested by

no test coverage detected