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

Class MyCallbacks

test/test_remote_prune.py:66–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 pruned = []
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 1

test_remote_pruneFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_remote_pruneFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…