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

Method session_path

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

Returns the path to a session's JSON file.

(&self, session_id: &str)

Source from the content-addressed store, hash-verified

639
640 /// Returns the path to a session's JSON file.
641 fn session_path(&self, session_id: &str) -> PathBuf {
642 self.sessions_dir.join(format!("{}.json", session_id))
643 }
644
645 fn temp_session_path(&self, session_id: &str) -> PathBuf {
646 let sequence = SESSION_TMP_SEQUENCE.fetch_add(1, Ordering::Relaxed);

Callers 3

loadMethod · 0.80
saveMethod · 0.80
clearMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected