Skip to main content

write_file

Function write_file 

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

Write content to a file. Creates parent dirs if needed.