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

Method push_update_reference

pygit2/callbacks.py:253–263  ·  view source on GitHub ↗

Push update reference callback. Override with your own function to report the remote's acceptance or rejection of reference updates. refname : str The name of the reference (on the remote). message : str Rejection message from the remote. If

(self, refname: str, message: str)

Source from the content-addressed store, hash-verified

251 """
252
253 def push_update_reference(self, refname: str, message: str) -> None:
254 """
255 Push update reference callback. Override with your own function to
256 report the remote's acceptance or rejection of reference updates.
257
258 refname : str
259 The name of the reference (on the remote).
260
261 message : str
262 Rejection message from the remote. If None, the update was accepted.
263 """
264
265
266class CheckoutCallbacks(Payload):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected