Clear the caches. Call this if the underlying graph has changed.
(&mut self)
| 244 | /// |
| 245 | /// Call this if the underlying graph has changed. |
| 246 | pub fn clear_caches(&mut self) { |
| 247 | self.inode_cache.clear(); |
| 248 | self.position_cache.clear(); |
| 249 | self.content_vertices_cache.clear(); |
| 250 | } |
| 251 | |
| 252 | /// Get cache statistics for debugging. |
| 253 | #[must_use] |