(
state: &State<'_, AppState>,
root_path: &str,
)
| 106 | } |
| 107 | |
| 108 | pub(crate) async fn should_use_workspace_search( |
| 109 | state: &State<'_, AppState>, |
| 110 | root_path: &str, |
| 111 | ) -> bool { |
| 112 | workspace_search_unavailable_message(state, root_path) |
| 113 | .await |
| 114 | .is_none() |
| 115 | } |
| 116 | |
| 117 | pub(crate) async fn prepare_content_search_runner( |
| 118 | state: &State<'_, AppState>, |
no test coverage detected