deltachat::tools

Function write_file

Source
pub(crate) async fn write_file(
    context: &Context,
    path: &Path,
    buf: &[u8],
) -> Result<(), Error>
Expand description

Write a the given content to provided file path.