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