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

Method edge_count

graphlite/src/storage/graph_cache.rs:206–208  ·  view source on GitHub ↗

Get edge count

(&self)

Source from the content-addressed store, hash-verified

204
205 /// Get edge count
206 pub fn edge_count(&self) -> Result<usize, GraphError> {
207 Ok(self.edges.len())
208 }
209
210 /// Get all edges with a specific label
211 pub fn get_edges_by_label(&self, label: &str) -> Vec<&Edge> {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected