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

Method update_tips

test/test_remote.py:332–334  ·  view source on GitHub ↗
(self, name: str, old: pygit2.Oid, new: pygit2.Oid)

Source from the content-addressed store, hash-verified

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)
334 self.i += 1
335
336 callbacks = MyCallbacks(tips)
337 remote.fetch(callbacks=callbacks)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected