Skip to main content

CherryPicker

Trait CherryPicker 

Source
pub trait CherryPicker {
    // Required methods
    fn cherry_pick(
        &self,
        commit: &str,
        opts: Option<&CherryPickOptions>,
    ) -> AppResult<Oid>;
    fn cherry_pick_continue(&self) -> AppResult<Oid>;
    fn cherry_pick_abort(&self) -> AppResult<()>;
}
Expand description

Cherry-pick operations.

Required Methods§

Source

fn cherry_pick( &self, commit: &str, opts: Option<&CherryPickOptions>, ) -> AppResult<Oid>

Cherry-picks the given commit.

Source

fn cherry_pick_continue(&self) -> AppResult<Oid>

Continues an in-progress cherry-pick.

Source

fn cherry_pick_abort(&self) -> AppResult<()>

Aborts an in-progress cherry-pick.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§