pub fn atomic_write_bytes(path: &Path, content: &[u8]) -> Result<()>Expand description
Atomically write raw bytes to path (temp file + rename).
On rename failure the temp file is best-effort removed so we don’t leak orphans into the data directory.