MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / contains_node

Method contains_node

graphlite/src/storage/graph_cache.rs:355–357  ·  view source on GitHub ↗

Check if the graph contains a node

(&self, node_id: &str)

Source from the content-addressed store, hash-verified

353
354 /// Check if the graph contains a node
355 pub fn contains_node(&self, node_id: &str) -> bool {
356 self.nodes.contains_key(node_id)
357 }
358
359 /// Check if the graph contains an edge
360 pub fn contains_edge(&self, edge_id: &str) -> bool {

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected