Skip to main content

atomic_write

Function atomic_write 

Source
pub fn atomic_write(path: &Path, content: &str) -> Result<()>
Expand description

原子写入:先写 .tmp 再 rename