MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / empty_repo

Function empty_repo

tests/test_git_utils.py:41–45  ·  view source on GitHub ↗

Create an empty git repository for testing.

()

Source from the content-addressed store, hash-verified

39
40@pytest.fixture
41def empty_repo():
42 """Create an empty git repository for testing."""
43 with tempfile.TemporaryDirectory() as temp_dir:
44 init_git_repo(temp_dir)
45 yield temp_dir
46
47
48def test_empty_diff(temp_repo):

Callers

nothing calls this directly

Calls 1

init_git_repoFunction · 0.90

Tested by

no test coverage detected