| 190 | } |
| 191 | |
| 192 | static bool HasFailedWorkForPrefix(const std::string& prefix) { |
| 193 | for (const auto& path : g_failedPaths) { |
| 194 | if (path.rfind(prefix, 0) == 0) return true; |
| 195 | } |
| 196 | return false; |
| 197 | } |
| 198 | |
| 199 | // Like HasFailedWorkForPrefix but ignores bestEffort items. |
| 200 | static bool HasFailedCommitWorkForPrefix(const std::string& prefix) { |
nothing calls this directly
no outgoing calls
no test coverage detected