Function mdbook::utils::fs::write_file
source · pub fn write_file<P: AsRef<Path>>(
build_dir: &Path,
filename: P,
content: &[u8]
) -> Result<()>
Expand description
Write the given data to a file, creating it first if necessary