| 244 | } |
| 245 | |
| 246 | static void recordAttempt(StartupAttempt* attempts, size_t maxAttempts, size_t& numAttempts, const char* source, |
| 247 | StringSpan candidate) |
| 248 | { |
| 249 | if (numAttempts >= maxAttempts) |
| 250 | return; |
| 251 | attempts[numAttempts].source = source; |
| 252 | if (attempts[numAttempts].path.assign(candidate)) |
| 253 | { |
| 254 | numAttempts++; |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | static bool validateLibraryRoot(StringSpan path) { return repoHasMarkers(path); } |
| 259 |
no test coverage detected