MCPcopy Create free account
hub / github.com/ddnet/ddnet / FetchFile

Method FetchFile

src/engine/client/updater.cpp:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void CUpdater::FetchFile(const char *pFile, const char *pDestPath)
165{
166 const CLockScope LockScope(m_Lock);
167 m_pCurrentTask = std::make_shared<CUpdaterFetchTask>(this, pFile, pDestPath);
168 str_copy(m_aStatus, m_pCurrentTask->Dest());
169 m_pHttp->Run(m_pCurrentTask);
170}
171
172bool CUpdater::MoveFile(const char *pFile)
173{

Callers

nothing calls this directly

Calls 3

DestMethod · 0.80
str_copyFunction · 0.50
RunMethod · 0.45

Tested by

no test coverage detected