Skip to main content

Module walker

Module walker 

Source
Expand description

Git-aware file discovery using the ignore crate. Respects .gitignore and exclude patterns.

Structs§

DiscoveryOptions

Enums§

FileClassification
How a file should be indexed.

Functions§

classify_explicit_file_with_options
Classify an explicitly requested file with discovery filters applied to that one path instead of walking the whole project root.
classify_file
Classify an individual file for indexing.
content_language
Language label for content-only files.
discover_files
Discover files eligible for indexing under root. Returns (ast_candidates, content_only_candidates) as absolute paths.
discover_files_with_options
is_content_indexable
Return true when path is an unsupported, safe text file suitable for chunks.