Function higher_effect::io::write_file

source ·
pub fn write_file<'a, P: 'a + AsRef<Path>, C: 'a + AsRef<[u8]>>(
    path: P,
    contents: C
) -> IO<'a, (), Error>
Expand description

Write a file to the filesystem.

If the file already exists, it will be overwritten.