Skip to main content

predict_apply

Function predict_apply 

Source
pub fn predict_apply(
    file_path: &Path,
    opts: &ApplyOptions,
) -> Result<ApplyReport>
Expand description

Dry-run companion to apply_with_options: runs the same clipping check (headroom-based or ReplayGain-peak based depending on opts) without touching the file. report.modified is always 0.

Frontends drive -n / a “Dry run” toggle through this so the “would apply N steps” message lines up with what a real apply would do.