| 301 | } |
| 302 | |
| 303 | bool isNumericString(const std::string& s) |
| 304 | { |
| 305 | for (int c : s) { |
| 306 | if (!isdigit(c)) { |
| 307 | return false; |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | return true; |
| 312 | } |
| 313 | |
| 314 | int loadFiles(const std::string& directory, |
| 315 | std::function<std::string(const std::string&, const struct dirent*)> filter, |
no outgoing calls
no test coverage detected