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

Class StashApplyCallbacks

pygit2/callbacks.py:328–344  ·  view source on GitHub ↗

Base class for pygit2 stash apply callbacks. Inherit from this class and override the callbacks that you want to use in your class, which you can then pass to stash apply or pop operations.

Source from the content-addressed store, hash-verified

326
327
328class StashApplyCallbacks(CheckoutCallbacks):
329 """Base class for pygit2 stash apply callbacks.
330
331 Inherit from this class and override the callbacks that you want to use
332 in your class, which you can then pass to stash apply or pop operations.
333 """
334
335 def stash_apply_progress(self, progress: StashApplyProgress) -> None:
336 """
337 Stash application progress notification function.
338
339 `progress` is a StashApplyProgress constant.
340
341 Raising an exception from this callback will abort the stash
342 application.
343 """
344 pass
345
346
347#

Callers 1

git_stash_apply_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…