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

Method get_external

atomic-core/src/record/workflow/globalize/context.rs:310–315  ·  view source on GitHub ↗
(&self, node_id: NodeId)

Source from the content-addressed store, hash-verified

308 /// The external hash if found, None if the node ID is ROOT or not found.
309 #[must_use]
310 pub fn get_external(&self, node_id: NodeId) -> Option<Hash> {
311 if node_id == NodeId::ROOT {
312 return None;
313 }
314 self.txn.get_external(node_id).ok().flatten()
315 }
316
317 /// Clear the caches.
318 ///

Calls 1

okMethod · 0.45