pub struct MaterializedFileConflictValue {
pub unsimplified_ids: Merge<Option<FileId>>,
pub ids: Merge<Option<FileId>>,
pub contents: Merge<BString>,
pub executable: Option<bool>,
pub copy_id: Option<CopyId>,
}Expand description
Conflicted TreeValue::Files with file contents.
Fields§
§unsimplified_ids: Merge<Option<FileId>>File ids which preserve the shape of the tree conflict, to be used with
Merge::update_from_simplified().
ids: Merge<Option<FileId>>Simplified file ids, in which redundant id pairs are dropped.
contents: Merge<BString>File contents corresponding to the simplified ids.
executable: Option<bool>Merged executable bit. None if there are changes in both executable
bit and file absence.
copy_id: Option<CopyId>Merged copy id. None if no single value could be determined.
Auto Trait Implementations§
impl Freeze for MaterializedFileConflictValue
impl RefUnwindSafe for MaterializedFileConflictValue
impl Send for MaterializedFileConflictValue
impl Sync for MaterializedFileConflictValue
impl Unpin for MaterializedFileConflictValue
impl UnwindSafe for MaterializedFileConflictValue
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