(workspace_path: Option<&str>)
| 138 | } |
| 139 | |
| 140 | fn trim_workspace_path(workspace_path: Option<&str>) -> Option<String> { |
| 141 | workspace_path |
| 142 | .map(str::trim) |
| 143 | .filter(|path| !path.is_empty()) |
| 144 | .map(str::to_string) |
| 145 | } |
| 146 | |
| 147 | async fn lookup_remote_entry_for_path( |
| 148 | state: &State<'_, AppState>, |
no test coverage detected