pub fn commit_temp(paths: &BackupPaths) -> Result<()>Expand description
Atomically replace the workload with the contents of
temp. Caller has written the new content to temp;
this rename promotes it to the workload’s path. After
this returns, <workload>.bak holds the pre-edit
content and the workload itself holds the post-edit
content.