MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / begin

Method begin

3ds/source/progress.cpp:36–39  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

34// active flag is owned by TransferStatus::beginLocalBatch / end, raised and
35// lowered by the TransferJob around the whole batch.
36void UiProgressSink::begin(const std::string& mode, size_t totalFiles)
37{
38 TransferStatus::beginLocalRun(mode, totalFiles);
39}
40
41void UiProgressSink::startFile(const std::u16string& name, u32 size)
42{

Callers 15

scanCardMethod · 0.45
sortListsMethod · 0.45
appendCartTitleMethod · 0.45
cartScanMethod · 0.45
invalidateMethod · 0.45
backupMethod · 0.45
restoreMethod · 0.45
loadBackupListMethod · 0.45
readFoldersMethod · 0.45
drawTopMethod · 0.45
reapThreadFunction · 0.45
calculateTitleDBHashFunction · 0.45

Calls 1

beginLocalRunFunction · 0.70

Tested by

no test coverage detected