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

Method __init__

pygit2/submodules.py:187–188  ·  view source on GitHub ↗
(self, repository: BaseRepository)

Source from the content-addressed store, hash-verified

185 """Collection of submodules in a repository."""
186
187 def __init__(self, repository: BaseRepository):
188 self._repository = repository
189
190 def __getitem__(self, name: str | Path) -> Submodule:
191 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected