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

Function loadDisabledCommands

src/renderer/src/stores/commandDataStore.ts:438–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

436 }
437
438 async function loadDisabledCommands(): Promise<void> {
439 try {
440 const data = await window.ztools.dbGet(DISABLED_COMMANDS_KEY)
441 if (data && Array.isArray(data)) {
442 disabledCommands.value = data
443 }
444 } catch (error) {
445 console.error('加载禁用指令列表失败:', error)
446 }
447 }
448
449 async function loadDisabledPlugins(): Promise<void> {
450 try {

Callers 1

initializeDataFunction · 0.85

Calls 1

dbGetMethod · 0.45

Tested by

no test coverage detected