Skip to main content

write_file

Function write_file 

Source
pub fn write_file(
    path: String,
    content: String,
) -> Result<String, Box<dyn Error + Send + Sync>>
Expand description

Write content to a file at the given path. Creates the file if it doesn’t exist, overwrites if it does.