return entry.type_ == Filesystem::FileType::Regular && absl::StartsWith(entry.name_, "cache-");
for (const Filesystem::DirectoryEntry& entry : Filesystem::Directory(std::string{cachePath()})) {
for (const Filesystem::DirectoryEntry& entry : Filesystem::Directory(std::string{cachePath()})) {
if (os_sys_calls.stat(absl::StrCat(cachePath(), entry.name_).c_str(), &s).return_value_ != -1) {
uint64_t max_size = config_.has_max_cache_size_bytes() ? config_.max_cache_size_bytes().value()
uint64_t max_count = config_.has_max_cache_entry_count() ? config_.max_cache_entry_count().value()