Skip to main content

run_diff

Function run_diff 

Source
pub fn run_diff(config: DiffConfig) -> Result<i32>
Expand description

Run the diff command, returning the desired exit code.

Enrichment is handled based on the enrichment feature flag and the config.enrichment.enabled setting. When the feature is disabled, enrichment settings are silently ignored.

The caller is responsible for calling std::process::exit() with the returned code when it is non-zero.