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

Method SetAutoUpPriority

src/KnownFile.cpp:1362–1371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1360}
1361
1362void CKnownFile::SetAutoUpPriority(bool flag){
1363 if (m_bAutoUpPriority != flag && IsPartFile()) {
1364 static_cast<CPartFile*>(this)->MarkMetDirty();
1365 }
1366 if (m_bAutoUpPriority != flag) {
1367 // EC exports prio with the auto flag folded in (+10 offset for auto).
1368 MarkECChanged();
1369 }
1370 m_bAutoUpPriority = flag;
1371}
1372
1373void CKnownFile::SetPublishedED2K(bool val){
1374 if (m_PublishedED2K == val) {

Callers 3

KnownFile_Up_Prio_SetFunction · 0.80
KnownFile_Up_Prio_AutoFunction · 0.80

Calls 1

MarkMetDirtyMethod · 0.80

Tested by

no test coverage detected