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

Method deleteCache

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

Source from the content-addressed store, hash-verified

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());
687}
688
689bool CssParser::saveToCache() const {
690 if (cachePath.empty()) {

Callers 1

loadMethod · 0.80

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected