MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getInstallCacheKey

Function getInstallCacheKey

src/cm/lsp/serverLauncher.ts:320–325  ·  view source on GitHub ↗
(server: LspServerDefinition)

Source from the content-addressed store, hash-verified

318}
319
320function getInstallCacheKey(server: LspServerDefinition): string | null {
321 const checkCommand =
322 server.launcher?.checkCommand || buildDerivedCheckCommand(server);
323 if (!checkCommand) return null;
324 return `${server.id}:${checkCommand}`;
325}
326
327function normalizeInstallSpec(server: LspServerDefinition) {
328 const install = server.launcher?.install;

Callers 3

ensureInstalledFunction · 0.85
installServerFunction · 0.85
uninstallServerFunction · 0.85

Calls 1

buildDerivedCheckCommandFunction · 0.85

Tested by

no test coverage detected