| 143 | } |
| 144 | |
| 145 | std::string StripPath(const std::string &filepath) { |
| 146 | size_t i = filepath.find_last_of(PathSeparatorSet); |
| 147 | return i != std::string::npos ? filepath.substr(i + 1) : filepath; |
| 148 | } |
| 149 | |
| 150 | std::string StripFileName(const std::string &filepath) { |
| 151 | size_t i = filepath.find_last_of(PathSeparatorSet); |
no outgoing calls
no test coverage detected