Verify an app name
| 165 | |
| 166 | /// Verify an app name |
| 167 | inline bool valid_alias_name_string(const std::string &str) { |
| 168 | return ((str.find_first_of('\n') == std::string::npos) && (str.find_first_of('\0') == std::string::npos)); |
| 169 | } |
| 170 | |
| 171 | /// check if a string is a container segment separator (empty or "%%") |
| 172 | inline bool is_separator(const std::string &str) { |
no outgoing calls
no test coverage detected