pub fn change(
config_path: &Path,
change: impl FnOnce(&mut Vec<Routine>),
) -> Result<(), String>Expand description
The routines as the configuration holds them now, changed by change and
written back, the whole under the file’s lock, which the sharing takes
too: a routine another device’s change brought in meanwhile is never
written over with an older list.