Skip to main content

write_file

Function write_file 

Source
pub fn write_file(path: &str, bytes: &[u8]) -> Result<(), String>
Expand description

Write bytes to a file (~-expandable path), creating parent dirs.