MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / count

Method count

atomic-agent/src/turn/session.rs:620–622  ·  view source on GitHub ↗

Returns the number of stored session files.

(&self)

Source from the content-addressed store, hash-verified

618
619 /// Returns the number of stored session files.
620 pub fn count(&self) -> AgentResult<usize> {
621 Ok(self.list()?.len())
622 }
623
624 /// Returns the path to a session's JSON file.
625 fn session_path(&self, session_id: &str) -> PathBuf {

Callers

nothing calls this directly

Calls 2

lenMethod · 0.45
listMethod · 0.45

Tested by

no test coverage detected