MCPcopy
hub / github.com/ZToolsCenter/ZTools / getDisabledPluginSet

Method getDisabledPluginSet

src/main/api/renderer/plugins.ts:245–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 }
244
245 public getDisabledPluginSet(): Set<string> {
246 if (!this.disabledPluginPathSet) {
247 this.getDisabledPlugins()
248 }
249 // getDisabledPlugins() 确保 disabledPluginPathSet 被初始化
250 return this.disabledPluginPathSet!
251 }
252
253 public isPluginDisabled(pluginPath: string): boolean {
254 return this.getDisabledPluginSet().has(pluginPath)

Callers 7

isPluginDisabledMethod · 0.95
setPluginDisabledMethod · 0.95
deletePluginMethod · 0.95
index.tsFile · 0.80
prepareGlobalShortcutMethod · 0.80
handleGlobalShortcutMethod · 0.80

Calls 1

getDisabledPluginsMethod · 0.95

Tested by

no test coverage detected