pub fn set_enabled_batch(
target_dir: &Path,
eco: &Ecosystem,
game: &str,
batch: &ToggleBatch,
) -> Result<BatchOutcome>Available on crate feature
io only.Expand description
Applies batch, reporting per-item outcomes.
One mod’s failure does not abort the rest: returning early would leave a
half-applied toggle with nothing reported. Applies batch.enabled, the
sense it was planned for, rather than taking its own enabled argument, so
the executor cannot disagree with the plan it is executing.
Reports nothing and cannot be cancelled; see set_enabled_batch_with.