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

Function repo

test/test_branch_empty.py:37–40  ·  view source on GitHub ↗
(emptyrepo: Repository)

Source from the content-addressed store, hash-verified

35
36@pytest.fixture
37def repo(emptyrepo: Repository) -> Generator[Repository, None, None]:
38 remote = emptyrepo.remotes[0]
39 remote.fetch()
40 yield emptyrepo
41
42
43def test_branches_remote_get(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…