| 141 | |
| 142 | |
| 143 | SIBR_SYSTEM_EXPORT bool find_any(const std::vector<std::string>& needles, const std::string& haystack) |
| 144 | { |
| 145 | for (std::string needle : needles) |
| 146 | { |
| 147 | if (haystack.find(needle) != std::string::npos) |
| 148 | return true; |
| 149 | } |
| 150 | |
| 151 | return false; |
| 152 | } |
| 153 | |
| 154 | std::string timestamp(const std::string & format) { |
| 155 | auto now = std::time(nullptr); |
no test coverage detected