(&mut self, items: Vec<(u128, MetadataIndexItem)>)
| 215 | } |
| 216 | |
| 217 | pub fn batch_insert(&mut self, items: Vec<(u128, MetadataIndexItem)>) { |
| 218 | self.tree |
| 219 | .batch_insert(items) |
| 220 | .expect("Failed to batch insert"); |
| 221 | } |
| 222 | |
| 223 | pub fn get(&mut self, key: u128) -> Option<MetadataIndexItem> { |
| 224 | match self.tree.search(key) { |
nothing calls this directly
no outgoing calls
no test coverage detected