async fn handle_upload(
api: &ImmichApiClient,
task: &FileTask,
progress: Arc<dyn Fn(u64, Option<u64>) + Send + Sync>,
) -> Option<SyncTarget>Expand description
Upload or reassociate a file, then ensure the resulting asset is present in the target album.