Function libax::fs::write

source ·
pub fn write<C>(path: &str, contents: C) -> Result<(), AxError>where
    C: AsRef<[u8]>,
Available on crate feature fs only.
Expand description

Write a slice as the entire contents of a file.