| 160 | } |
| 161 | |
| 162 | auto HttpMetaCache::evictEntry(MetaEntryPtr entry) -> bool |
| 163 | { |
| 164 | if (!entry) |
| 165 | return false; |
| 166 | |
| 167 | entry->m_stale = true; |
| 168 | SaveEventually(); |
| 169 | return true; |
| 170 | } |
| 171 | |
| 172 | // returns true on success, false otherwise |
| 173 | auto HttpMetaCache::evictAll() -> bool |