Skip to main content

run_diff_mode

Function run_diff_mode 

Source
pub async fn run_diff_mode(opts: DiffOptions) -> Result<i32>
Expand description

Top-level entry point for aperion-shield --diff. Returns the shell exit code: 0 for success, 1 for a policy-gate trip (e.g. --fail-if-flipped), 2 for an internal / I/O error.