pub fn index_under(
store: &mut Store,
root: &Path,
subdirs: &[String],
) -> Result<Stats, Box<dyn Error>>Expand description
Index root, or — when subdirs is non-empty — only those repo-relative
subtrees of it (a partial index of the repo). Unbounded: an explicit index
is thorough. A whole-repo index also reconciles deletions; a deliberate
subset is marked partial so a later search won’t auto-warm over it.