| 410 | } |
| 411 | |
| 412 | bool fileExists(const char* path) { |
| 413 | if (!path) { |
| 414 | return false; |
| 415 | } |
| 416 | |
| 417 | FILE* fp = fopen(convertPathToDelims(path).c_str(), "rb"); |
| 418 | if (!fp) { |
| 419 | return false; |
| 420 | } |
| 421 | fclose(fp); |
| 422 | |
| 423 | return true; |
| 424 | } |
| 425 | |
| 426 | // Local Variables: *** |
| 427 | // mode: C++ *** |
nothing calls this directly
no test coverage detected