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

Class CustomRepoClass

test/test_submodule.py:100–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98@utils.requires_network
99def test_submodule_open_from_repository_subclass(repo: Repository) -> None:
100 class CustomRepoClass(pygit2.Repository):
101 pass
102
103 custom_repo = CustomRepoClass(repo.workdir)
104 s = custom_repo.submodules[SUBM_PATH]

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…