| 133 | static const char *PathSeparatorSet = "\\/"; // Intentionally no ':' |
| 134 | |
| 135 | std::string StripExtension(const std::string &filepath) { |
| 136 | size_t i = filepath.find_last_of('.'); |
| 137 | return i != std::string::npos ? filepath.substr(0, i) : filepath; |
| 138 | } |
| 139 | |
| 140 | std::string GetExtension(const std::string &filepath) { |
| 141 | size_t i = filepath.find_last_of('.'); |
no outgoing calls
no test coverage detected