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

Method get_children

atomic-core/src/apply/workspace.rs:581–583  ·  view source on GitHub ↗

Get the children of a position.

(&self, parent: &Position<NodeId>)

Source from the content-addressed store, hash-verified

579
580 /// Get the children of a position.
581 pub fn get_children(&self, parent: &Position<NodeId>) -> Option<&[Position<NodeId>]> {
582 self.children.get(parent).map(|v| v.as_slice())
583 }
584
585 // Conflict Tracking
586

Callers 1

Calls 2

getMethod · 0.65
as_sliceMethod · 0.45

Tested by 1