MCPcopy Create free account
hub / github.com/assaultcube/AC / rebuildzipfilehashtable

Function rebuildzipfilehashtable

source/src/zip.cpp:430–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430static void rebuildzipfilehashtable()
431{
432 zipfiles.clear(false);
433 loopv(archives)
434 {
435 ziparchive *arch = archives[i];
436 loopvj(arch->files)
437 {
438 zipfile *zf = &arch->files[j];
439 if(zf->fullname) zipfiles.access(zf->fullname, zf);
440 }
441 }
442}
443
444void clearmemfiles() // clear list of memfiles and free all associated buffers (unless there are files still open)
445{

Callers 3

addzipmodFunction · 0.85
zipmodremoveFunction · 0.85
zipmodclearFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected