Skip to main content

atomic_write

Function atomic_write 

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

原子写入:先写 .tmp 再 rename