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

Method session_path

atomic-agent/src/turn/session.rs:1154–1156  ·  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

1152
1153 /// Returns the path to a session's JSON file.
1154 fn session_path(&self, session_id: &str) -> PathBuf {
1155 self.sessions_dir.join(format!("{}.json", session_id))
1156 }
1157
1158 fn temp_session_path(&self, session_id: &str) -> PathBuf {
1159 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