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

Method getPluginDocKeys

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

* 公共方法:获取指定插件的所有文档 key

(pluginName: string)

Source from the content-addressed store, hash-verified

731 * 公共方法:获取指定插件的所有文档 key
732 */
733 public async getPluginDocKeys(pluginName: string): Promise<{
734 success: boolean
735 data?: Array<{ key: string; type: 'document' | 'attachment' }>
736 error?: string
737 }> {
738 return await this._getPluginDocKeys(pluginName)
739 }
740
741 /**
742 * 公共方法:获取指定插件的文档或附件内容

Callers 3

setupIPCMethod · 0.80
loadPluginDataFunction · 0.80

Calls 1

_getPluginDocKeysMethod · 0.95

Tested by

no test coverage detected