deltachat::tools

Function write_file

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

Write a the given content to provided file path.