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

Method update_tips

test/test_remote_prune.py:67–68  ·  view source on GitHub ↗
(self, name: str, old: Oid, new: Oid)

Source from the content-addressed store, hash-verified

65
66 class MyCallbacks(pygit2.RemoteCallbacks):
67 def update_tips(self, name: str, old: Oid, new: Oid) -> None:
68 pruned.append(name)
69
70 callbacks = MyCallbacks()
71 remote = clonerepo.remotes['origin']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected