pub struct IndexSummary {
pub files: usize,
pub added: usize,
pub modified: usize,
pub deleted: usize,
pub skipped: usize,
pub skipped_paths: Vec<String>,
pub ignored: IgnoredCounts,
pub unindexed: UnindexedCounts,
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).
skipped_paths: Vec<String>Which files those were. Counting them without naming them leaves no way to find the offender but bisecting by directory (#270).
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.
unindexed: UnindexedCountsFiles gonzalo has no grammar for. Distinct from both of the above: recognized as a file, would have been indexed, but its extension names no language gonzalo parses (#259).
incremental: boolWhether this run used the git-diff-driven incremental driver (only the changed set re-parsed) rather than the full tree walk.