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

Method session_count

graphlite/src/session/provider.rs:87–89  ·  view source on GitHub ↗

Get session count # Returns Number of active sessions

(&self)

Source from the content-addressed store, hash-verified

85 /// # Returns
86 /// Number of active sessions
87 fn session_count(&self) -> usize {
88 self.list_sessions().len()
89 }
90
91 /// Invalidate sessions using a specific graph
92 ///

Callers

nothing calls this directly

Implementers 2

instance_provider.rsgraphlite/src/session/instance_provide
global_provider.rsgraphlite/src/session/global_provider.

Calls 2

lenMethod · 0.45
list_sessionsMethod · 0.45

Tested by

no test coverage detected