| 60 | } |
| 61 | |
| 62 | bool UiProgressSink::cancelled() const |
| 63 | { |
| 64 | // Only a backup run reads the global cancel flag; a restore's sink is built |
| 65 | // non-cancellable so the shared copy loops never abort mid-restore. |
| 66 | return mCancellable && TransferStatus::cancelRequested(); |
| 67 | } |
no test coverage detected