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

Method __next__

pygit2/utils.py:219–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

217 return self
218
219 def __next__(self) -> T:
220 idx = self.idx
221 if idx >= self.length:
222 raise StopIteration
223
224 self.idx += 1
225 return self.container[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected