| 83 | } |
| 84 | |
| 85 | ReferenceTableStats ReferenceTable::dumpStats() const { |
| 86 | size_t tableSize; |
| 87 | std::vector<ReferenceTableEntry> entries; |
| 88 | { |
| 89 | auto read = readAccess(); |
| 90 | tableSize = read.getTableSize(); |
| 91 | entries = read.getAll(); |
| 92 | } |
| 93 | |
| 94 | return ReferenceTableStats::fromEntries(tableSize, entries); |
| 95 | } |
| 96 | |
| 97 | bool ReferenceTable::contains(SequenceID id) const { |
| 98 | auto index = toEntryIndex(id); |
nothing calls this directly
no test coverage detected