pub fn handle_check(
path: Option<&Path>,
store: &DiagnosticStore,
project_root: &Path,
errors_only: bool,
) -> ValueExpand description
Handle the krait check command.
Returns diagnostics (optionally filtered to path and/or errors-only),
sorted by severity then file:line. Paths in the response are relative to project_root.