Expand description
Git snapshot and tree-sitter code index construction.
This module owns blocking Git, filesystem, and parser work. Application methods run these workflows behind explicit blocking-worker boundaries.
Structs§
- Code
Index Plan - Blocking plan for a checkpointed full repository index.
Enums§
- Code
Index Error - Blocking code index failure.
Functions§
- build_
index_ snapshot - Builds a code index snapshot from a clean Git commit or incremental diff.
- changed_
paths_ for_ diff - Returns changed paths for impact analysis without mutating the code index.
- deleted_
symbol_ names_ for_ diff - Extracts symbol names removed by a diff so impact can include deleted APIs.
- partition_
changed_ paths_ for_ selector - Splits diff paths by the same selector rules used by indexing and impact.
- prepare_
full_ index_ plan - Prepares a full repository index as a bounded, checkpointable batch plan.
- preview_
repository_ scope - Returns a non-mutating preview of the effective repository indexing scope.
- register_
repository - Validates a Git worktree and creates a stable repository registration.
- resolve_
repository_ ref - Resolves a repository ref selector to the exact commit used by storage.
- resolve_
repository_ snapshot - Resolves a repository ref selector to the exact commit and tree hash.