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

Method has_vertex

atomic-core/src/output/alive/retrieve/tests.rs:149–151  ·  view source on GitHub ↗
(&self, node: GraphNode<NodeId>)

Source from the content-addressed store, hash-verified

147 }
148
149 fn has_vertex(&self, node: GraphNode<NodeId>) -> Result<bool, PristineError> {
150 Ok(self.edges.contains_key(&node))
151 }
152
153 fn get_node_type(&self, _node_id: NodeId) -> Result<Option<u8>, PristineError> {
154 Ok(None)

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected