#[non_exhaustive]pub struct DiffEntriesResult {
pub entries: Vec<DiffEntry>,
pub inexact_rename_skipped: Option<InexactRenameDetectionSkipped>,
pub index_stat_refreshed: bool,
}Expand description
Changed paths from a Diff metadata diff, after any rename, copy or break
pairing, with what the diff noticed along the way.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<DiffEntry>Flat diff entries, one per changed path (renames and copies pair two paths).
inexact_rename_skipped: Option<InexactRenameDetectionSkipped>Set when inexact rename detection was skipped due to diff.renameLimit.
index_stat_refreshed: boolIndex-to-work-tree diffs with
TreeDiffOptions::refresh_index_stat:
whether the in-memory index adopted fresh stat data and is worth writing back.
Implementations§
Trait Implementations§
Source§impl Clone for DiffEntriesResult
impl Clone for DiffEntriesResult
Source§impl Debug for DiffEntriesResult
impl Debug for DiffEntriesResult
Source§impl Default for DiffEntriesResult
impl Default for DiffEntriesResult
impl Eq for DiffEntriesResult
Source§impl PartialEq for DiffEntriesResult
impl PartialEq for DiffEntriesResult
impl StructuralPartialEq for DiffEntriesResult
Auto Trait Implementations§
impl Forget for DiffEntriesResult
impl Freeze for DiffEntriesResult
impl RefUnwindSafe for DiffEntriesResult
impl Send for DiffEntriesResult
impl Sync for DiffEntriesResult
impl Unpin for DiffEntriesResult
impl UnsafeUnpin for DiffEntriesResult
impl UnwindSafe for DiffEntriesResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.