Skip to main content

write_status_to

Function write_status_to 

Source
pub fn write_status_to(path: &Path, status: &Status) -> Result<()>
Expand description

Publish a status to an explicit path.

Written to a sibling .tmp and renamed, because the web UI reads this file on every health poll and must never see a half-written one.