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

Method session_path

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

623
624 /// Returns the path to a session's JSON file.
625 fn session_path(&self, session_id: &str) -> PathBuf {
626 self.sessions_dir.join(format!("{}.json", session_id))
627 }
628
629 /// Returns the sessions directory path.
630 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