MCPcopy Create free account
hub / github.com/amule-project/amule / AddDownloadingSource

Method AddDownloadingSource

src/PartFile.cpp:3752–3759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3750}
3751
3752void CPartFile::AddDownloadingSource(CUpDownClient* client)
3753{
3754 CClientRefList::iterator it =
3755 std::find(m_downloadingSourcesList.begin(), m_downloadingSourcesList.end(), CCLIENTREF(client, ""));
3756 if (it == m_downloadingSourcesList.end()) {
3757 m_downloadingSourcesList.push_back(CCLIENTREF(client, "CPartFile::AddDownloadingSource"));
3758 }
3759}
3760
3761
3762void CPartFile::RemoveDownloadingSource(CUpDownClient* client)

Callers 1

SetDownloadStateMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected