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

Function beginNetwork

3ds/source/transferstatus.cpp:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void beginNetwork(const std::string& mode, u64 totalBytes)
93 {
94 sCancel.store(false);
95 std::lock_guard<std::mutex> lock(sMutex);
96 sState.kind = TransferKind::Network;
97 sState.active = true;
98 sState.mode = mode;
99 sState.bytesDone = 0;
100 sState.bytesTotal = totalBytes;
101 }
102
103 void setMode(const std::string& mode)
104 {

Callers 3

handleUploadFunction · 0.70
sendBackupMethod · 0.70
streamBodyToFileFunction · 0.70

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected