pub fn discover_files( root: &Path, exclude_patterns: &[String], ) -> (Vec<PathBuf>, Vec<PathBuf>)
Discover files eligible for indexing under root. Returns (ast_candidates, content_only_candidates) as absolute paths.
root