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

Function in_git_dir

tests/conftest.py:46–50  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

44
45@pytest.fixture
46def in_git_dir(tmpdir):
47 repo = tmpdir.join('repo').ensure_dir()
48 with repo.as_cwd():
49 cmd_output('git', 'init')
50 yield repo
51
52
53def _make_conflict():

Callers

nothing calls this directly

Calls 1

cmd_outputFunction · 0.90

Tested by

no test coverage detected