Expand description
Tree-sitter code-symbol indexing.
Pure parsing layer: turns source files into ParsedFiles (definitions and
references) and provides a gitignore-aware directory walk. It has no
knowledge of the graph store — crate::actions::code maps the parsed
output onto entities/relations and handles incremental hashing.
Re-exports§
Modules§
- lang
- Language registry for code-symbol indexing.
Structs§
- Def
- A symbol definition extracted from a file.
- Parsed
File - Parsed symbols for a single file.
- Ref
- A reference (call / type use) extracted from a file.
Constants§
- MAX_
FILE_ BYTES - Files larger than this are skipped (parsing huge generated/minified files is slow and rarely useful for a symbol map).
Functions§
- hash_
bytes - BLAKE3 content hash (hex) used for incremental change detection.
- parse_
source - Parse one in-memory source buffer into defs/refs. Returns an empty result for unsupported languages or unbuildable tag configs.
- walk
- Walk
root(a file or directory) and collect indexable source files, honoring.gitignore/hidden-file rules and skipping oversized files.