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

Method temp_session_path

atomic-agent/src/turn/session.rs:1158–1166  ·  view source on GitHub ↗
(&self, session_id: &str)

Source from the content-addressed store, hash-verified

1156 }
1157
1158 fn temp_session_path(&self, session_id: &str) -> PathBuf {
1159 let sequence = SESSION_TMP_SEQUENCE.fetch_add(1, Ordering::Relaxed);
1160 self.sessions_dir.join(format!(
1161 ".{}.json.{}.{}.tmp",
1162 session_id,
1163 std::process::id(),
1164 sequence
1165 ))
1166 }
1167
1168 /// Returns the sessions directory path.
1169 pub fn sessions_dir(&self) -> &Path {

Callers 1

saveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected