(project_root: &Path)
| 48 | } |
| 49 | |
| 50 | pub async fn open_project_session_db(project_root: &Path) -> Option<GlobalDb> { |
| 51 | let db_path = resolved_project_session_db_path(project_root).await?; |
| 52 | GlobalDb::open_at(&db_path).await |
| 53 | } |
| 54 | |
| 55 | pub async fn resolved_project_session_db_path(project_root: &Path) -> Option<PathBuf> { |
| 56 | if is_hermes_profile_home(project_root) { |