Skip to main content

write_progress

Function write_progress 

Source
pub fn write_progress(home: &Path, progress: &Progress) -> Result<()>
Expand description

Persist progress, atomically.

Written to a sibling .tmp and renamed, the same reason daemon::write_status_to does it: /api/health reads this file on every poll and must never see a half-written one.