Skip to main content

commit

Function commit 

Source
pub fn commit(target: &Path, body: &str, original: &str) -> Result<(), String>
Expand description

Write the rewritten save file over the target, atomically, refusing anything that lost lines.