| 113 | |
| 114 | |
| 115 | const char* ScanDir::getFilePath() |
| 116 | { |
| 117 | #ifdef _WIN32 |
| 118 | filePath.printf("%s\\%s", directory.c_str(), data.cFileName); |
| 119 | #else |
| 120 | filePath.printf("%s/%s", directory.c_str(), data->d_name); |
| 121 | #endif |
| 122 | |
| 123 | return filePath.c_str(); |
| 124 | } |
| 125 | |
| 126 | bool ScanDir::match(const char *pattern, const char *name) |
| 127 | { |
no test coverage detected