MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / goToNextFile

Method goToNextFile

lib/QuaZip/quazip/quazip.cpp:495–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495bool QuaZip::goToNextFile()
496{
497 p->zipError=UNZ_OK;
498 if(p->mode!=mdUnzip) {
499 qWarning("QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode");
500 return false;
501 }
502 p->zipError=unzGoToNextFile(p->unzFile_f);
503 p->hasCurrentFile_f=p->zipError==UNZ_OK;
504 if(p->zipError==UNZ_END_OF_LIST_OF_FILE)
505 p->zipError=UNZ_OK;
506 return p->hasCurrentFile_f;
507}
508
509bool QuaZip::getCurrentFileInfo(QuaZipFileInfo *info)const
510{

Callers 5

foreachFunction · 0.80
extractDirMethod · 0.80
getFileListMethod · 0.80
entryInfoListMethod · 0.80
getFileInfoListMethod · 0.80

Calls 1

unzGoToNextFileFunction · 0.85

Tested by 1

foreachFunction · 0.64