| 176 | } |
| 177 | |
| 178 | void DiskCache::UpdateSerialNumber() |
| 179 | { |
| 180 | // Update and do nothing except 0 |
| 181 | serial++; |
| 182 | if (serial != 0) { |
| 183 | return; |
| 184 | } |
| 185 | |
| 186 | // Clear serial of all caches |
| 187 | for (cache_t& c : cache) { |
| 188 | c.serial = 0; |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | vector<PbStatistics> DiskCache::GetStatistics(bool is_read_only) const |
| 193 | { |
nothing calls this directly
no outgoing calls
no test coverage detected