MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / valid_alias_name_string

Function valid_alias_name_string

include/CLI/StringTools.hpp:167–169  ·  view source on GitHub ↗

Verify an app name

Source from the content-addressed store, hash-verified

165
166/// Verify an app name
167inline 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 "%%")
172inline bool is_separator(const std::string &str) {

Callers 3

add_option_groupMethod · 0.85
groupMethod · 0.85
aliasMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected