MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / contains_node

Method contains_node

crates/firewheel-graph/src/context.rs:995–997  ·  view source on GitHub ↗

Returns `true` if the node exists in the graph.

(&self, id: NodeID)

Source from the content-addressed store, hash-verified

993 ///
994 /// This will return an error if the ID is of the graph input or graph
995 /// output node.
996 pub fn remove_node(&mut self, node_id: NodeID) -> Result<SmallVec<[Edge; 4]>, RemoveNodeError> {
997 self.graph.remove_node(node_id, false)
998 }
999
1000 /// Returns `true` if the node exists in the graph.

Callers 1

queue_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected