MCPcopy
hub / github.com/xpf0000/FlyEnv / rawServiceVersions

Method rawServiceVersions

src/main/core/MCPTools.ts:318–320  ·  view source on GitHub ↗

读取某个模块的全部已安装版本(原始,含 bin,仅供内部匹配用,不直接出站)

(flag: string)

Source from the content-addressed store, hash-verified

316
317 /** 读取某个模块的全部已安装版本(原始,含 bin,仅供内部匹配用,不直接出站) */
318 private async rawServiceVersions(flag: string): Promise<any[]> {
319 return ServiceVersionManager.getVersions(flag)
320 }
321
322 /** 批量读取多个模块的已安装版本,优先读主进程缓存 */
323 private async rawServiceVersionsBatch(

Callers 7

listServiceVersionsMethod · 0.95
serviceStatusMethod · 0.95
reloadWebServerMethod · 0.95
pickVersionMethod · 0.95
startServiceMethod · 0.95
stopAllServiceMethod · 0.95
resolveVersionObjMethod · 0.95

Calls 1

getVersionsMethod · 0.80

Tested by

no test coverage detected