Skip to main content

run

Function run 

Source
pub fn run<B: AuditBackend>(
    backend: &B,
    input: AuditRunInput<'_>,
) -> Result<Option<AuditRun<B::Analyses>>, B::Error>
Expand description

Run one audit. Returns None when the run has no changed files.

ยงErrors

Returns the error of the backend when an analysis or the base checkout fails.