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

Function getInstallLabel

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

Source from the content-addressed store, hash-verified

428}
429
430function getInstallLabel(server: LspServerDefinition): string {
431 return (
432 normalizeInstallSpec(server)?.label ||
433 server.launcher?.install?.label ||
434 server.label ||
435 server.id
436 ).trim();
437}
438
439function buildUninstallCommand(server: LspServerDefinition): string | null {
440 const spec = normalizeInstallSpec(server);

Callers 2

installServerFunction · 0.85
uninstallServerFunction · 0.85

Calls 1

normalizeInstallSpecFunction · 0.85

Tested by

no test coverage detected