(project_root: &Path)
| 35 | } |
| 36 | |
| 37 | pub(crate) fn classify_project_storage(project_root: &Path) -> ProjectStorageLocation { |
| 38 | match tracedecay::storage::resolve_layout_for_current_profile(project_root) { |
| 39 | Ok(layout) => classify_layout_storage(project_root, layout), |
| 40 | Err(_) => ProjectStorageLocation { |
| 41 | project_root: project_root.to_path_buf(), |
| 42 | data_root: tracedecay::config::get_tracedecay_dir(project_root), |
| 43 | marker_root: None, |
| 44 | status: ProjectStorageStatus::Stale, |
| 45 | }, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | pub(crate) async fn classify_project_storage_with_registry( |
| 50 | project_root: &Path, |
no test coverage detected