MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / endTocPass

Method endTocPass

lib/Epub/Epub/BookMetadataCache.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool BookMetadataCache::endTocPass() {
81 // Explicit close() required: member variables persist beyond function scope
82 tocFile.close();
83 spineFile.close();
84
85 spineHrefIndex.clear();
86 spineHrefIndex.shrink_to_fit();
87 useSpineHrefIndex = false;
88
89 return true;
90}
91
92bool BookMetadataCache::endWrite() {
93 if (!buildMode) {

Callers 1

loadMethod · 0.80

Calls 2

closeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected