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

Method __iter__

pygit2/submodules.py:205–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 return self.get(name) is not None
204
205 def __iter__(self) -> Iterator[Submodule]:
206 for s in self._repository.listall_submodules():
207 yield self[s]
208
209 def get(self, name: str) -> Submodule | None:
210 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected