| 63 | CommandLine::CommandLinePool CommandLine::command_line_pool; |
| 64 | |
| 65 | bool endsWith(std::string const &str, std::string const &suffix) |
| 66 | { |
| 67 | if (str.length() <= suffix.length()) |
| 68 | return false; |
| 69 | return str.substr(str.length() - suffix.length(), str.length() - 1) == suffix; |
| 70 | } |
| 71 | |
| 72 | bool startsWith(std::string const &str, std::string const &prefix) |
| 73 | { |
no test coverage detected