Skip to main content

change

Function change 

Source
fn change(
    dir: &Path,
    date: Date,
    edit: impl FnOnce(&mut Table),
) -> Result<(), String>
Expand description

Changes one date’s table in its month file, the rest of the file kept as written (comments, what a newer Sioul adds); under the file’s lock, as the sharing writes in it too. A file that does not read is never written over.