Function fs_write_with_permission
pub async fn fs_write_with_permission<P: AsRef<Path>, C: AsRef<[u8]>>(
path: P,
contents: C,
mode: u32,
) -> Result<()>Expand description
Write a file, applying the requested mode at creation time on Unix platforms.