update_file

Function update_file 

Source
pub async fn update_file(
    db: &DbPool,
    search: &TenantSearchIndex,
    scope: &DocumentBoxScopeRaw,
    file: File,
    user_id: Option<String>,
    update: UpdateFile,
) -> Result<(), UpdateFileError>