Function quicli::fs::write_to_file
[−]
[src]
pub fn write_to_file<P: AsRef<Path>>(path: P, content: &str) -> Result<()>
Write string to file
Note: Replaces the current file content if the file already exists.
Examples
write_to_file("/tmp/asdasidz81zasda", "foobar")?;