Skip to main content

run_analysis

Function run_analysis 

Source
pub fn run_analysis(
    analyzer: &dyn LanguageAnalyzer,
    root: &Path,
    format: OutputFormat,
    overrides: &CliOverrides,
) -> CliResult<AnalysisOutput>
Expand description

Scan files, run the analysis pipeline, and return the output.

Warnings are stored in AnalysisOutput::result but not printed; the caller is responsible for writing them to stderr.