Function overwrite_file

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

Opens an already existing file and overwrites all content with content.