Check if a primary key exists in the tree.
(&self, primary_key: &[u8])
| 136 | |
| 137 | /// Check if a primary key exists in the tree. |
| 138 | pub fn contains(&self, primary_key: &[u8]) -> bool { |
| 139 | self.key_to_sort.contains_key(primary_key) |
| 140 | } |
| 141 | |
| 142 | /// Get the sort key for a primary key, if it exists. |
| 143 | pub fn get_sort_key(&self, primary_key: &[u8]) -> Option<&[u8]> { |
no outgoing calls
no test coverage detected