Skip to main content

build_json_with_config_fixable

Function build_json_with_config_fixable 

Source
pub fn build_json_with_config_fixable(
    results: &AnalysisResults,
    root: &Path,
    elapsed: Duration,
    config_fixable: bool,
) -> Result<Value, Error>
Expand description

Build the JSON output value with an explicit config-action fixability signal.

Use this when the caller already knows how the config was loaded, including explicit --config paths that default discovery cannot see.