Skip to main content

handle_upload

Function handle_upload 

Source
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.