MCPcopy Create free account
hub / github.com/libgit2/pygit2 / repo

Function repo

test/test_submodule.py:48–50  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

46
47@pytest.fixture
48def repo(tmp_path: Path) -> Generator[Repository, None, None]:
49 with utils.TemporaryRepository('submodulerepo.zip', tmp_path) as path:
50 yield pygit2.Repository(path)
51
52
53def test_lookup_submodule(repo: Repository) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…