Returns the path to a session's JSON file.
(&self, session_id: &str)
| 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 { |