Skip to main content

atomic_write

Function atomic_write 

Source
pub fn atomic_write(path: &Path, bytes: &[u8]) -> Result<()>
Expand description

Atomic write helper used by write_last_error. Public for vendors that need to write small sidecar files (credentials, etc.).