pub async fn search_files(
pattern: &str,
path: &str,
recursive: bool,
max_matches: Option<usize>,
) -> Result<String, AppError>Expand description
Search files for a pattern asynchronously.
Returns a JSON string containing the matches.