Function xshell::write_file [−][src]
pub fn write_file(
path: impl AsRef<Path>,
contents: impl AsRef<[u8]>
) -> Result<()>
Expand description
Writes the contents into the file at path, creating the file (and the
path to it) if it didn’t exist already.