MCPcopy Index your code
hub / github.com/usestrix/strix / _run_git_command_raw

Function _run_git_command_raw

strix/interface/utils.py:521–528  ·  view source on GitHub ↗
(
    repo_path: Path, args: list[str], check: bool = True
)

Source from the content-addressed store, hash-verified

519
520
521def _run_git_command_raw(
522 repo_path: Path, args: list[str], check: bool = True
523) -> subprocess.CompletedProcess[bytes]:
524 return subprocess.run( # noqa: S603
525 ["git", "-C", str(repo_path), *args], # noqa: S607
526 capture_output=True,
527 check=check,
528 )
529
530
531def _is_ci_environment(env: dict[str, str]) -> bool:

Callers 1

_resolve_repo_diff_scopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected