Skip to main content

save_atomic

Function save_atomic 

Source
pub fn save_atomic(path: &Path, issues: &[Issue]) -> Result<()>
Expand description

Atomically write issues to path.

Writes to path with a .tmp extension, then renames to path so that readers never see a half-written file. The parent directory is created if it does not exist.