Struct git2::StashApplyOptions [−][src]
pub struct StashApplyOptions<'cb> { /* fields omitted */ }
Expand description
Stash application options structure
Implementations
Creates a default set of merge options.
Set stash application flag to GIT_STASH_APPLY_REINSTATE_INDEX
Options to use when writing files to the working directory
pub fn progress_cb<C>(&mut self, callback: C) -> &mut StashApplyOptions<'cb> where
C: FnMut(StashApplyProgress) -> bool + 'cb,
pub fn progress_cb<C>(&mut self, callback: C) -> &mut StashApplyOptions<'cb> where
C: FnMut(StashApplyProgress) -> bool + 'cb,
Optional callback to notify the consumer of application progress.
Return true
to continue processing, or false
to
abort the stash application.
Pointer to a raw git_stash_apply_options