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.
| 326 | |
| 327 | |
| 328 | class 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 | # |
no outgoing calls
no test coverage detected
searching dependent graphs…