pub struct SelectedTrees {
pub target_commits: HashMap<CommitId, MergedTreeBuilder>,
pub skipped_paths: Vec<(RepoPathBuf, String)>,
}
Expand description
An absorb ‘plan’ indicating which commits should be modified and what they should be modified to.
Fields§
§target_commits: HashMap<CommitId, MergedTreeBuilder>
Commits to be modified, to be passed to absorb_hunks
.
skipped_paths: Vec<(RepoPathBuf, String)>
Paths that were not absorbed for various error reasons.
Trait Implementations§
Source§impl Default for SelectedTrees
impl Default for SelectedTrees
Source§fn default() -> SelectedTrees
fn default() -> SelectedTrees
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectedTrees
impl RefUnwindSafe for SelectedTrees
impl Send for SelectedTrees
impl Sync for SelectedTrees
impl Unpin for SelectedTrees
impl UnwindSafe for SelectedTrees
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more