pub fn write_atomic(path: &Path, bytes: &[u8]) -> SshCliResult<()>Expand description
Writes bytes to path atomically (tempfile + fsync + rename + 0o600).
Used by save and export -o (atomwrite rule).
pub fn write_atomic(path: &Path, bytes: &[u8]) -> SshCliResult<()>Writes bytes to path atomically (tempfile + fsync + rename + 0o600).
Used by save and export -o (atomwrite rule).