| 272 | } |
| 273 | |
| 274 | std::string GetExtension(const std::string &filepath) { |
| 275 | size_t i = filepath.find_last_of('.'); |
| 276 | return i != std::string::npos ? filepath.substr(i + 1) : ""; |
| 277 | } |
| 278 | |
| 279 | std::string StripPath(const std::string &filepath) { |
| 280 | size_t i = filepath.find_last_of(PathSeparatorSet); |
no test coverage detected