MCPcopy Create free account
hub / github.com/cosdata/cosdata / set_parent

Method set_parent

src/models/prob_node.rs:187–189  ·  view source on GitHub ↗
(&self, parent: SharedLatestNode)

Source from the content-addressed store, hash-verified

185 }
186
187 pub fn set_parent(&self, parent: SharedLatestNode) {
188 self.parent.store(parent, Ordering::Release);
189 }
190
191 pub fn get_child(&self) -> SharedLatestNode {
192 self.child.load(Ordering::Acquire)

Callers 3

create_root_nodeFunction · 0.80
create_pseudo_root_nodeFunction · 0.80

Calls

no outgoing calls

Tested by 1