Struct branchless::core::rewrite::RebasePlanBuilder[][src]

pub struct RebasePlanBuilder<'repo> { /* fields omitted */ }
Expand description

Builder for a rebase plan. Unlike regular Git rebases, a git-branchless rebase plan can move multiple unrelated subtrees to unrelated destinations.

Implementations

Constructor.

Generate a sequence of rebase steps that cause the subtree at source_oid to be rebased on top of dest_oid.

Create the rebase plan. Returns None if there were no commands in the rebase plan.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.