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

Method GetFileByIndex

src/DownloadQueue.cpp:583–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581
582
583CPartFile* CDownloadQueue::GetFileByIndex(unsigned int index) const
584{
585 wxMutexLocker lock( m_mutex );
586
587 if ( index < m_filelist.size() ) {
588 return m_filelist[ index ];
589 }
590
591 wxFAIL;
592 return NULL;
593}
594
595
596bool CDownloadQueue::IsPartFile(const CKnownFile* file) const

Callers 2

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected