Function ::exo::fs::write_file_preview

Overview
async fn write_file_preview(value, value1: String, value2: Reader) -> Result

Tries to override the file preview in the database. The given data need to ba a valid image, matching .

Example:

// exo::db::write_file_preview(uuid, "png", reader).await?;