(project_path: &Path)
| 680 | } |
| 681 | |
| 682 | fn fallback_branch_data_root(project_path: &Path) -> PathBuf { |
| 683 | tracedecay::storage::resolve_layout_for_current_profile(project_path) |
| 684 | .map(|layout| layout.data_root) |
| 685 | .unwrap_or_else(|_| tracedecay::config::get_tracedecay_dir(project_path)) |
| 686 | } |
| 687 | |
| 688 | /// Handles the `wipe` and `wipe --all` commands. |
| 689 | pub(crate) async fn handle_wipe(all: bool) -> tracedecay::errors::Result<()> { |
no test coverage detected