Skip to main content

plan_index

Function plan_index 

Source
pub fn plan_index(
    store: &IndexStore,
    project_root: &Path,
    extensions: &[&str],
) -> Result<(Vec<FileEntry>, usize)>
Expand description

Determine which files need (re)indexing by comparing BLAKE3 hashes.

Returns (files_to_index, cached_count).

ยงErrors

Returns an error if walking the source tree fails.