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

Method get_node_mut

graphlite/src/storage/graph_cache.rs:143–145  ·  view source on GitHub ↗

Get a mutable reference to a node by ID

(&mut self, id: &str)

Source from the content-addressed store, hash-verified

141
142 /// Get a mutable reference to a node by ID
143 pub fn get_node_mut(&mut self, id: &str) -> Option<&mut Node> {
144 self.nodes.get_mut(id)
145 }
146
147 /// Get an edge by ID
148 pub fn get_edge(&self, id: &str) -> Option<&Edge> {

Callers 7

apply_undo_to_graphMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
apply_undo_operationMethod · 0.80

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected