| 132 | |
| 133 | |
| 134 | string_view StripFilePart(string_view filepath) { |
| 135 | auto fpos = filepath.find_last_of(FILESEP); |
| 136 | return fpos != string_view::npos ? filepath.substr(0, fpos + 1) : ""; |
| 137 | } |
| 138 | |
| 139 | const char *StripDirPart(const char *filepath) { |
| 140 | auto fpos = strrchr(filepath, FILESEP); |
no outgoing calls
no test coverage detected