pub fn write_all(path: &Path, data: &[u8]) -> CNFSResult
Expand description
Write a slice as the entire contents of a file.
This is a convenience function for using open and File::write_all with fewer imports.
pub fn write_all(path: &Path, data: &[u8]) -> CNFSResult
Write a slice as the entire contents of a file.
This is a convenience function for using open and File::write_all with fewer imports.