Skip to main content

check_project

Function check_project 

Source
pub fn check_project(
    root: &Path,
    cfg: &Config,
    scheme: &str,
    report: bool,
) -> Result<(Vec<FileReport>, Vec<FileError>)>
Expand description

Project-mode scan. Per-file I/O errors are accumulated in Vec<FileError> rather than aborting the scan. Rules are compiled once per language and shared across the parallel pool.