UiProgressSink runs on the TransferJob worker thread: every call only mirrors figures into TransferStatus. It does not render — the main loop draws the transfer modal from TransferStatus::snapshot() every frame, so the clock and the rest of the UI keep animating while the copy runs on the worker. The batch active flag is owned by TransferStatus::beginLocalBatch / end, raised and lowered by the Tra
| 34 | // active flag is owned by TransferStatus::beginLocalBatch / end, raised and |
| 35 | // lowered by the TransferJob around the whole batch. |
| 36 | void UiProgressSink::begin(const std::string& mode, size_t totalFiles) |
| 37 | { |
| 38 | TransferStatus::beginLocalRun(mode, totalFiles); |
| 39 | } |
| 40 | |
| 41 | void UiProgressSink::startFile(const std::u16string& name, u32 size) |
| 42 | { |
no test coverage detected