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

Method count

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

Returns the number of stored session files.

(&self)

Source from the content-addressed store, hash-verified

590
591 /// Returns the number of stored session files.
592 pub fn count(&self) -> AgentResult<usize> {
593 Ok(self.list()?.len())
594 }
595
596 /// Returns the path to a session's JSON file.
597 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