| 134 | } |
| 135 | |
| 136 | std::string StripPath(const std::string &filepath) { |
| 137 | size_t i = filepath.find_last_of(PathSeparatorSet); |
| 138 | return i != std::string::npos ? filepath.substr(i + 1) : filepath; |
| 139 | } |
| 140 | |
| 141 | std::string StripFileName(const std::string &filepath) { |
| 142 | size_t i = filepath.find_last_of(PathSeparatorSet); |
no test coverage detected