Skip to main content

run_analysis

Function run_analysis 

Source
pub fn run_analysis(
    input: &Path,
    verbose: bool,
    load_stdlib: bool,
    stdlib_path: Option<&Path>,
) -> Result<AnalysisResult, String>
Expand description

Run analysis on input file or directory.

§Arguments

  • input - Path to a file or directory to analyze
  • verbose - Enable verbose output
  • load_stdlib - Whether to load the standard library
  • stdlib_path - Optional custom path to the standard library

§Returns

An AnalysisResult with file count, symbol count, and diagnostics.