Skip to main content

update_task

Function update_task 

Source
pub fn update_task(root: &Path, task: &Task) -> Result<(), JotError>
Expand description

Overwrite a task on disk. If the title changed and produced a new filename (slug-derived), the old file is removed.