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

Method __getitem__

pygit2/utils.py:201–201  ·  view source on GitHub ↗
(self, index: int)

Source from the content-addressed store, hash-verified

199class SequenceProtocol(Protocol[U]):
200 def __len__(self) -> int: ...
201 def __getitem__(self, index: int) -> U: ...
202
203
204class GenericIterator(Generic[T]):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected