pub fn replace_job(root: &Path, job: &Job) -> Result<()>Expand description
Replace a job’s [[job]] block in place, leaving every other byte of the file alone.
This is what pause and resume need: rewriting the whole file from the parsed jobs would
be correct and would also delete the comments and formatting a person put next to their
other jobs.