pub struct Plan {
pub fetches: Vec<FetchOutcome>,
pub worktrees: Vec<WorktreeOutcome>,
}Expand description
The result of planning and (optionally) executing a batch rebase.
Fields§
§fetches: Vec<FetchOutcome>One entry per repository: the fetch that was performed (or, for a local onto ref, skipped). The length is the fetch-once-per-repo count.
worktrees: Vec<WorktreeOutcome>One entry per selected worktree, in selection order.
Implementations§
Source§impl Plan
impl Plan
Sourcepub fn has_pending_rebases(&self) -> bool
pub fn has_pending_rebases(&self) -> bool
Whether any worktree still needs a rebase (a RebaseResult::WouldRebase).
The CLI uses this to decide whether to confirm and execute.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more