(&self, node_id: NodeId)
| 308 | /// The external hash if found, None if the node ID is ROOT or not found. |
| 309 | #[must_use] |
| 310 | pub fn get_external(&self, node_id: NodeId) -> Option<Hash> { |
| 311 | if node_id == NodeId::ROOT { |
| 312 | return None; |
| 313 | } |
| 314 | self.txn.get_external(node_id).ok().flatten() |
| 315 | } |
| 316 | |
| 317 | /// Clear the caches. |
| 318 | /// |