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

Method session_path

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

595
596 /// Returns the path to a session's JSON file.
597 fn session_path(&self, session_id: &str) -> PathBuf {
598 self.sessions_dir.join(format!("{}.json", session_id))
599 }
600
601 /// Returns the sessions directory path.
602 pub fn sessions_dir(&self) -> &Path {

Callers 3

loadMethod · 0.80
saveMethod · 0.80
clearMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected