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

Class MyStashApplyCallbacks

test/test_repository.py:488–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486 progress_sequence = []
487
488 class MyStashApplyCallbacks(pygit2.StashApplyCallbacks):
489 def stash_apply_progress(self, progress: StashApplyProgress) -> None:
490 progress_sequence.append(progress)
491
492 # apply the stash
493 testrepo.stash_apply(callbacks=MyStashApplyCallbacks())

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…