| 20 | } |
| 21 | |
| 22 | wstring removeSeparator(const wstring &fileName) |
| 23 | { |
| 24 | if (fileName.empty() || !(fileName.ends_with(L'\\') || fileName.ends_with(L'/'))) { |
| 25 | return fileName; |
| 26 | } |
| 27 | |
| 28 | return fileName.substr(0, fileName.size() - 1); |
| 29 | } |
| 30 | |
| 31 | wstring extractName(const wstring &fileName) |
| 32 | { |
no test coverage detected