Skip to main content

handle_check

Function handle_check 

Source
pub fn handle_check(
    path: Option<&Path>,
    store: &DiagnosticStore,
    project_root: &Path,
    errors_only: bool,
) -> Value
Expand 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.