MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / annotate

Function annotate

atomic-repository/src/workflow_usage.rs:495–497  ·  view source on GitHub ↗
(nodes: &mut [KgNode], edges: &[KgEdge])

Source from the content-addressed store, hash-verified

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

Calls 1

annotate_with_viewsFunction · 0.85