Skip to main content

write_string

Function write_string 

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

Write a string to a file (async), creating parent directories if needed.