(nodes: &mut [KgNode], edges: &[KgEdge])
| 493 | /// Attach derived usage to change/intent/view nodes, using the complete snapshot. |
| 494 | #[cfg(test)] |
| 495 | pub(crate) fn annotate(nodes: &mut [KgNode], edges: &[KgEdge]) -> Result<(), RepositoryError> { |
| 496 | annotate_with_views(nodes, edges, None) |
| 497 | } |
| 498 | |
| 499 | pub(crate) fn annotate_with_views( |
| 500 | nodes: &mut [KgNode], |