Skip to main content

check

Function check 

Source
pub fn check(
    args: &[String],
    root: &Path,
    timeout: Option<Duration>,
) -> (ProbeOutcome, String, String)
Expand description

Run a deps built-in check over the crate graph rooted at root (one hermetic cargo metadata invocation). Returns the probe outcome, a one-line reason, and the violation report (one check: subject: evidence line each). Argument, spec, and cargo errors are ProbeOutcome::Broken — a defective probe, never a silent pass.