| 128 | } |
| 129 | |
| 130 | std::string getFileName(std::string path) |
| 131 | { |
| 132 | if (path.size() < 1) |
| 133 | { |
| 134 | return std::string(); |
| 135 | } |
| 136 | std::vector<std::string> result = split(path, "/"); |
| 137 | if (result.size() < 1) |
| 138 | { |
| 139 | return std::string(); |
| 140 | } |
| 141 | return result[result.size() - 1]; |
| 142 | } |
| 143 | |
| 144 | std::string getNameWithoutFirstM(std::string& name) |
| 145 | { |
no test coverage detected