MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / downloadReadyRead

Method downloadReadyRead

launcher/net/Upload.cpp:184–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 void Upload::downloadReadyRead() {
185 if (m_state == State::Running) {
186 auto data = m_reply->readAll();
187 m_state = m_sink->write(data);
188 }
189 }
190
191 void Upload::executeTask() {
192 setStatus(tr("Uploading %1").arg(m_url.toString()));

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected