MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / isDevelopmentPluginName

Function isDevelopmentPluginName

src/shared/pluginRuntimeNamespace.ts:10–12  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

8 * 判断给定插件名是否为开发版(即以 `__dev` 结尾)。
9 */
10export function isDevelopmentPluginName(pluginName: string): boolean {
11 return pluginName.endsWith(DEV_PLUGIN_SUFFIX)
12}
13
14/**
15 * 将插件原始名转换为开发版名(追加 `__dev` 后缀)。

Callers 4

validatePluginConfigMethod · 0.90
_getPluginDataStatsMethod · 0.90
migrateDevPluginNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected