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

Method get_edge_mut

graphlite/src/storage/graph_cache.rs:153–155  ·  view source on GitHub ↗

Get a mutable reference to an edge by ID

(&mut self, id: &str)

Source from the content-addressed store, hash-verified

151
152 /// Get a mutable reference to an edge by ID
153 pub fn get_edge_mut(&mut self, id: &str) -> Option<&mut Edge> {
154 self.edges.get_mut(id)
155 }
156
157 /// Get all nodes with a specific label
158 pub fn get_nodes_by_label(&self, label: &str) -> Vec<&Node> {

Callers 3

apply_undo_to_graphMethod · 0.80
execute_modificationMethod · 0.80
apply_undo_operationMethod · 0.80

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected