Function fs_err::write

source ยท
pub fn write<P: AsRef<Path>, C: AsRef<[u8]>>(path: P, contents: C) -> Result<()>
Expand description

Write a slice as the entire contents of a file.

Wrapper for fs::write.