Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphLite-AI/GraphLite
/ node_count
Method
node_count
graphlite/src/storage/graph_cache.rs:201–203 ·
view source on GitHub ↗
Get node count
(&self)
Source
from the content-addressed store, hash-verified
199
200
/// Get node count
201
pub fn node_count(&self) -> Result<usize, GraphError> {
202
Ok(self.nodes.len())
203
}
204
205
/// Get edge count
206
pub fn edge_count(&self) -> Result<usize, GraphError> {
Callers
1
is_simple_path
Method · 0.80
Calls
1
len
Method · 0.45
Tested by
no test coverage detected