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

Method getPluginDoc

src/main/api/shared/database.ts:744–749  ·  view source on GitHub ↗

* 公共方法:获取指定插件的文档或附件内容

(
    pluginName: string,
    key: string
  )

Source from the content-addressed store, hash-verified

742 * 公共方法:获取指定插件的文档或附件内容
743 */
744 public async getPluginDoc(
745 pluginName: string,
746 key: string
747 ): Promise<{ success: boolean; data?: any; type?: string; error?: string }> {
748 return await this._getPluginDoc(pluginName, key)
749 }
750
751 /**
752 * 公共方法:清空指定插件的所有数据

Callers 2

setupIPCMethod · 0.80
toggleDataDetailFunction · 0.80

Calls 1

_getPluginDocMethod · 0.95

Tested by

no test coverage detected