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

Method setupCacheDir

lib/Epub/Epub.cpp:522–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522void Epub::setupCacheDir() const {
523 if (Storage.exists(cachePath.c_str())) {
524 return;
525 }
526
527 Storage.mkdir(cachePath.c_str());
528}
529
530const std::string& Epub::getCachePath() const { return cachePath; }
531

Callers

nothing calls this directly

Calls 2

existsMethod · 0.80
mkdirMethod · 0.80

Tested by

no test coverage detected