MCPcopy Create free account
hub / github.com/ZToolsCenter/ZTools / isPluginMatch

Function isPluginMatch

src/renderer/src/stores/commandDataStore.ts:271–272  ·  view source on GitHub ↗
(cmd: Command)

Source from the content-addressed store, hash-verified

269 }
270
271 const isPluginMatch = (cmd: Command): boolean =>
272 cmd.type === 'plugin' && cmd.featureCode === storedCommand.featureCode && isSamePlugin(cmd)
273
274 const nameMatch = commands.value.find(
275 (cmd) => isPluginMatch(cmd) && cmd.name === storedCommand.name

Callers 1

findCurrentCommandMatchFunction · 0.85

Calls 1

isSamePluginFunction · 0.85

Tested by

no test coverage detected