MCPcopy Create free account
hub / github.com/SpacehuhnTech/SimpleCLI / equals

Method equals

src/Command.cpp:156–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool Command::equals(String name) const {
157 return equals(name.c_str());
158}
159
160bool Command::equals(const char* name) const {
161 if (cmdPointer && name) return cmd_name_equals(cmdPointer, name, strlen(name), cmdPointer->case_sensetive) == CMD_NAME_EQUALS;

Callers

nothing calls this directly

Calls 2

cmd_name_equalsFunction · 0.85
cmd_equalsFunction · 0.85

Tested by

no test coverage detected