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

Method __init__

pygit2/remotes.py:408–409  ·  view source on GitHub ↗
(self, repo: BaseRepository)

Source from the content-addressed store, hash-verified

406 """
407
408 def __init__(self, repo: BaseRepository) -> None:
409 self._repo = repo
410
411 def __len__(self) -> int:
412 with utils.new_git_strarray() as names:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected