Skip to main content

Module file_search_bridge

Module file_search_bridge 

Source
Expand description

Bridge module integrating vtcode-file-search with grep_file.rs

This module provides a clean interface to use the dedicated file-search crate for file discovery operations, replacing direct ripgrep subprocess calls for file enumeration.

It handles:

  • Converting between vtcode-core and vtcode-file-search APIs
  • Integrating file search results with existing grep workflows
  • Maintaining backward compatibility during transition

Structs§

FileSearchConfig
Configuration for file search operations

Enums§

FileMatchType
A single file match result.

Functions§

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