Skip to main content

discover_files

Function discover_files 

Source
pub fn discover_files<S: AsRef<str>>(
    root: &Path,
    exclude_patterns: &[S],
) -> (Vec<PathBuf>, Vec<PathBuf>)
Expand description

Discover files eligible for indexing under root. Returns (ast_candidates, content_only_candidates) as absolute paths.