pub struct IndexSummary {
pub files: usize,
pub added: usize,
pub modified: usize,
pub deleted: usize,
pub skipped: usize,
pub ignored: IgnoredCounts,
pub incremental: bool,
}Expand description
Summary returned by index.
Fields§
§files: usizeSource files parsed into slices.
added: usizePaths newly added to the view.
modified: usizePaths whose slice content changed.
deleted: usizePaths removed from the view since the last index.
skipped: usizeFiles skipped because an isolated parse worker crashed or hung on them (only possible when parsing through the pool).
ignored: IgnoredCountsPaths excluded from the view by an IndexFilter rule — vendored or
generated files, dependency/output directories, and gitignored trees
(#209). Distinct from skipped, which is a parse failure.
incremental: boolWhether this run used the git-diff-driven incremental driver (only the changed set re-parsed) rather than the full tree walk.
Auto Trait Implementations§
impl Freeze for IndexSummary
impl RefUnwindSafe for IndexSummary
impl Send for IndexSummary
impl Sync for IndexSummary
impl Unpin for IndexSummary
impl UnsafeUnpin for IndexSummary
impl UnwindSafe for IndexSummary
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