Whether the index is empty.
(&self)
| 137 | |
| 138 | /// Whether the index is empty. |
| 139 | pub fn is_empty(&self) -> bool { |
| 140 | self.doc_count == 0 |
| 141 | } |
| 142 | |
| 143 | /// Serialize to bytes for checkpoint persistence. |
| 144 | pub fn checkpoint_to_bytes(&self) -> Vec<u8> { |
no outgoing calls
no test coverage detected