MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / _git_cmd

Method _git_cmd

pre_commit/store.py:202–203  ·  view source on GitHub ↗
(*args: str)

Source from the content-addressed store, hash-verified

200 env = git.no_git_env()
201
202 def _git_cmd(*args: str) -> None:
203 cmd_output_b('git', *args, cwd=directory, env=env)
204
205 try:
206 self._shallow_clone(ref, _git_cmd)

Callers

nothing calls this directly

Calls 1

cmd_output_bFunction · 0.90

Tested by

no test coverage detected