(session_id: &str)
| 97 | } |
| 98 | |
| 99 | pub fn default_export_path(session_id: &str) -> PathBuf { |
| 100 | base_dir().join("exports").join(format!("{session_id}.md")) |
| 101 | } |
| 102 | |
| 103 | pub async fn save(session: &Session, dest: &Path) -> Result<PathBuf> { |
| 104 | if let Some(parent) = dest.parent() { |
no test coverage detected