ensures all the delims are constant
| 253 | |
| 254 | // ensures all the delims are constant |
| 255 | std::string convertPathToDelims(const char* file) { |
| 256 | if (!file) { |
| 257 | return std::string(); |
| 258 | } |
| 259 | |
| 260 | std::string delim; |
| 261 | delim += _DirDelim; |
| 262 | return replace_all(replace_all(file, "/", delim), "\\", delim); |
| 263 | } |
| 264 | |
| 265 | std::vector<std::string> getFilesInDir(const char* dir, const char* filter, |
| 266 | bool recrusive) { |
no test coverage detected