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

Function beginLocalRun

3ds/source/transferstatus.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void beginLocalRun(const std::string& mode, size_t totalFiles)
62 {
63 std::lock_guard<std::mutex> lock(sMutex);
64 sState.mode = mode;
65 sState.copyCount = 0;
66 sState.copyTotal = totalFiles;
67 sState.currentFile.clear();
68 sState.currentFileSize = 0;
69 sState.currentFileOffset = 0;
70 }
71
72 void startFile(const std::u16string& name, u32 size)
73 {

Callers 1

beginMethod · 0.70

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected