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

Method hasCache

lib/Epub/Epub/css/CssParser.cpp:683–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681constexpr char rulesCache[] = "/css_rules.cache";
682
683bool CssParser::hasCache() const { return Storage.exists((cachePath + rulesCache).c_str()); }
684
685void CssParser::deleteCache() const {
686 if (hasCache()) Storage.remove((cachePath + rulesCache).c_str());

Callers 2

parseCssFilesMethod · 0.80
loadMethod · 0.80

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected