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

Function resolveServerExecutable

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

Source from the content-addressed store, hash-verified

418}
419
420function resolveServerExecutable(server: LspServerDefinition): string | null {
421 return (
422 getProviderExecutable(server) ||
423 getInstallerExecutable(server) ||
424 server.launcher?.bridge?.command ||
425 server.launcher?.command ||
426 null
427 );
428}
429
430function getInstallLabel(server: LspServerDefinition): string {
431 return (

Callers 4

canReuseExistingServerFunction · 0.85
resolveStartCommandFunction · 0.85
buildDerivedCheckCommandFunction · 0.85
ensureServerRunningFunction · 0.85

Calls 2

getProviderExecutableFunction · 0.85
getInstallerExecutableFunction · 0.85

Tested by

no test coverage detected