* Check if directory path exists */
| 95 | * Check if directory path exists |
| 96 | */ |
| 97 | RLCPP_MAYBEUNUSED RLCPPAPI inline bool DirectoryExists(const std::string& dirPath) { |
| 98 | return ::DirectoryExists(dirPath.c_str()); |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Check file extension (including point: .png, .wav) |