MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / isValidName

Function isValidName

Tactility/Source/app/AppManifestParsing.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static bool isValidName(const std::string& name) {
50 return name.size() >= 2 && validateString(name, [](const char c) {
51 return std::isalnum(c) != 0 || c == ' ' || c == '-';
52 });
53}
54
55bool parseManifest(const std::map<std::string, std::string>& map, AppManifest& manifest) {
56 LOGGER.info("Parsing manifest");

Callers 1

parseManifestFunction · 0.85

Calls 1

validateStringFunction · 0.85

Tested by

no test coverage detected