MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / hasCommand

Method hasCommand

app/src/API/CommandRegistry.cpp:140–143  ·  view source on GitHub ↗

* @brief Check if a command is registered */

Source from the content-addressed store, hash-verified

138 * @brief Check if a command is registered
139 */
140bool API::CommandRegistry::hasCommand(const QString& name) const
141{
142 return m_commands.contains(name);
143}
144
145/**
146 * @brief Closed set of mutating commands that warrant a pre-mutation snapshot.

Callers 6

handleToolsCallMethod · 0.80
canonicalToolNameMethod · 0.80
getSnapshotMethod · 0.80
getProjectStateMethod · 0.80
callMethod · 0.80
luaApiCallFunction · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected