Clear the caches. Call this if the underlying graph has changed.
(&mut self)
| 318 | /// |
| 319 | /// Call this if the underlying graph has changed. |
| 320 | pub fn clear_caches(&mut self) { |
| 321 | self.inode_cache.clear(); |
| 322 | self.position_cache.clear(); |
| 323 | self.content_vertices_cache.clear(); |
| 324 | } |
| 325 | |
| 326 | /// Get cache statistics for debugging. |
| 327 | #[must_use] |