pub struct ApplySparseResult {
pub materialized: Vec<Vec<u8>>,
pub skipped: Vec<Vec<u8>>,
pub not_up_to_date: Vec<Vec<u8>>,
}Fields§
§materialized: Vec<Vec<u8>>Paths whose worktree file was (re)materialized because they are in cone.
skipped: Vec<Vec<u8>>Paths that were taken out of the worktree because they are out of cone; their index entry now has the skip-worktree bit set.
not_up_to_date: Vec<Vec<u8>>Out-of-cone paths whose worktree file was not up to date with the index and was therefore left in place (and its skip-worktree bit left clear), matching git’s data-loss-avoiding behavior. The caller surfaces these as git’s “The following paths are not up to date …” warning. Sorted by path.
Trait Implementations§
Source§impl Clone for ApplySparseResult
impl Clone for ApplySparseResult
Source§fn clone(&self) -> ApplySparseResult
fn clone(&self) -> ApplySparseResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplySparseResult
impl Debug for ApplySparseResult
impl Eq for ApplySparseResult
Source§impl PartialEq for ApplySparseResult
impl PartialEq for ApplySparseResult
Source§fn eq(&self, other: &ApplySparseResult) -> bool
fn eq(&self, other: &ApplySparseResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApplySparseResult
Auto Trait Implementations§
impl Freeze for ApplySparseResult
impl RefUnwindSafe for ApplySparseResult
impl Send for ApplySparseResult
impl Sync for ApplySparseResult
impl Unpin for ApplySparseResult
impl UnsafeUnpin for ApplySparseResult
impl UnwindSafe for ApplySparseResult
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