| 306 | } |
| 307 | |
| 308 | string NormalizePath(const char* path) |
| 309 | { |
| 310 | string p(path); |
| 311 | replace(p.begin(), p.end(), '\\', '/'); |
| 312 | transform(p.begin(), p.end(), p.begin(), ::tolower); |
| 313 | |
| 314 | return p; |
| 315 | } |
| 316 | |
| 317 | // strips the path from a file name |
| 318 | string StripPath(const char* path) |
nothing calls this directly
no outgoing calls
no test coverage detected