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

Method update_tips

pygit2/callbacks.py:236–251  ·  view source on GitHub ↗

Update tips callback. Override with your own function to report reference updates. Parameters: refname : str The name of the reference that's being updated. old : Oid The reference's old value. new : Oid The ref

(self, refname: str, old: Oid, new: Oid)

Source from the content-addressed store, hash-verified

234 """
235
236 def update_tips(self, refname: str, old: Oid, new: Oid) -> None:
237 """
238 Update tips callback. Override with your own function to report
239 reference updates.
240
241 Parameters:
242
243 refname : str
244 The name of the reference that's being updated.
245
246 old : Oid
247 The reference's old value.
248
249 new : Oid
250 The reference's new value.
251 """
252
253 def push_update_reference(self, refname: str, message: str) -> None:
254 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected