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

Method has_vertex

atomic-core/src/pristine/traits/view.rs:1020–1022  ·  view source on GitHub ↗
(&self, _node: GraphNode<NodeId>)

Source from the content-addressed store, hash-verified

1018 }
1019
1020 fn has_vertex(&self, _node: GraphNode<NodeId>) -> Result<bool, PristineError> {
1021 Ok(false)
1022 }
1023
1024 fn get_node_type(&self, node_id: NodeId) -> Result<Option<u8>, PristineError> {
1025 Ok(self.external.contains_key(&node_id).then_some(0))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected