Skip to main content

run_tool

Function run_tool 

Source
pub async fn run_tool(
    spec: &ToolSpec,
    root: &Path,
    files: &[String],
) -> ToolOutcome
Expand description

Run one deterministic tool over some files.

Never returns an error and never panics for an absent or failing tool; that is reported as ToolStatus::Unavailable so the caller can surface it rather than mistake it for a clean result.