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

Method get_edge

graphlite/src/storage/graph_cache.rs:148–150  ·  view source on GitHub ↗

Get an edge by ID

(&self, id: &str)

Source from the content-addressed store, hash-verified

146
147 /// Get an edge by ID
148 pub fn get_edge(&self, id: &str) -> Option<&Edge> {
149 self.edges.get(id)
150 }
151
152 /// Get a mutable reference to an edge by ID
153 pub fn get_edge_mut(&mut self, id: &str) -> Option<&mut Edge> {

Callers 5

save_graph_by_pathMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
execute_modificationMethod · 0.80
executeMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected