Skip to main content

run_audit

Function run_audit 

Source
pub fn run_audit(
    options: &AuditOptions,
) -> Result<AuditProgrammaticOutput, ProgrammaticError>
Expand description

Run changed-code audit through typed programmatic runners.

The audit itself is crate::audit_run::run, the same implementation as fallow audit. This function supplies the typed runners and builds the programmatic output.

ยงErrors

Returns a structured error for invalid options, base-ref discovery failures, unsupported CLI-only audit surfaces, or analysis failures.