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

Function getPluginDocId

src/shared/pluginRuntimeNamespace.ts:61–63  ·  view source on GitHub ↗
(pluginName: string, key: string)

Source from the content-addressed store, hash-verified

59 * 生成插件私有文档的完整 `_id`。
60 */
61export function getPluginDocId(pluginName: string, key: string): string {
62 return `PLUGIN/${pluginName}/${key}`
63}
64
65/**
66 * 生成插件主视图与插件子窗口共享的 Session partition。

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected