Skip to main content

Module reindex

Module reindex 

Source
Expand description

Incremental reindex orchestrator.

Ties together the manifest, object store, diff, and embedding pipeline to provide a single incremental_index function that loads cached embeddings and only re-embeds changed files.

Structs§

ReindexStats
Statistics from an incremental reindex operation.

Functions§

apply_auto_stash
Apply the user’s auto_stash choice: set git config and save to config.toml.
check_auto_stash
Check whether pull.autoStash needs to be configured for a repo-local cache.
heal_manifest_mtimes
Update manifest file mtimes to match the current filesystem.
incremental_index
Load or incrementally update a persistent index.
is_repo_local
Check if the resolved cache directory is inside a .ripvec/ directory.
load_cached_index
Load a pre-built index from the disk cache without re-embedding.
resolve_cache_dir
Resolve the cache directory for a project + model combination.