Function write_string

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

Write string content to a file atomically using a temporary file + rename strategy with file locking