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

Method get_node

graphlite/src/storage/graph_cache.rs:138–140  ·  view source on GitHub ↗

Get a node by ID

(&self, id: &str)

Source from the content-addressed store, hash-verified

136
137 /// Get a node by ID
138 pub fn get_node(&self, id: &str) -> Option<&Node> {
139 self.nodes.get(id)
140 }
141
142 /// Get a mutable reference to a node by ID
143 pub fn get_node_mut(&mut self, id: &str) -> Option<&mut Node> {

Callers 13

match_path_patternMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
match_path_patternMethod · 0.80
execute_modificationMethod · 0.80
match_path_patternMethod · 0.80
execute_modificationMethod · 0.80
match_path_patternMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected