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

Method __init__

test/test_remote.py:328–330  ·  view source on GitHub ↗
(self, tips: list[tuple[str, pygit2.Oid, pygit2.Oid]])

Source from the content-addressed store, hash-verified

326 tips: list[tuple[str, pygit2.Oid, pygit2.Oid]]
327
328 def __init__(self, tips: list[tuple[str, pygit2.Oid, pygit2.Oid]]) -> None:
329 self.tips = tips
330 self.i = 0
331
332 def update_tips(self, name: str, old: pygit2.Oid, new: pygit2.Oid) -> None:
333 assert self.tips[self.i] == (name, old, new)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected