Skip to main content

handle_cancel

Function handle_cancel 

Source
async fn handle_cancel<E, C>(
    partial_path: &PathBuf,
    request_id: &str,
    registry: &TransferRegistryHandle,
    lock_registry: &LockRegistry,
    lock_id: &LockId,
    channel: &E,
    log: &NotificationLogHandle,
    os_notifier: &OsNotifier<C>,
) -> Result<(), AppError>
Expand description

Cancel path: delete .partial, emit Canceled, release lock.