| 289 | } |
| 290 | |
| 291 | std::vector<std::string> getDirsInDir(const char* dir) { |
| 292 | std::vector<std::string> list; |
| 293 | if (!dir) { |
| 294 | return list; |
| 295 | } |
| 296 | |
| 297 | std::string directory = convertPathToDelims(dir); |
| 298 | |
| 299 | #ifdef _WIN32 |
| 300 | WindowsAddFileStack(directory.c_str(), "*.*", false, list, true); |
| 301 | #else |
| 302 | LinuxAddFileStack(directory.c_str(), "*.*", false, list, true); |
| 303 | #endif |
| 304 | return list; |
| 305 | } |
| 306 | |
| 307 | std::string getPathForOS(const char* file) { |
| 308 | return convertPathToDelims(file); |
nothing calls this directly
no test coverage detected