Expand description
Bridge module integrating vtcode-indexer::file_search with grep_file.rs
This module provides a clean interface to use the file-search module for file discovery operations, replacing direct ripgrep subprocess calls for file enumeration.
It handles:
- Converting between vtcode-core and vtcode-indexer::file_search APIs
- Integrating file search results with existing grep workflows
Structs§
- File
Search Config - Configuration for file search operations
Enums§
- File
Match Type - A single file match result.
Constants§
- MAX_
FILE_ SEARCH_ RESULTS - Maximum number of paths returned by the file-search bridge.
Functions§
- effective_
max_ results - Normalize an externally supplied result limit before it reaches the parallel indexer.
- file_
matches_ only - Keep only file matches, dropping directory entries.
- filter_
by_ extension - Filter file matches by file extension
- filter_
by_ pattern - Filter file matches by path pattern
- match_
filename - Get filename from a file match
- search_
files - Search for files matching a pattern
- search_
files_ async - Search for files without blocking the Tokio worker running the caller.