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