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

Function getRuntimeUninstallCommand

src/cm/lsp/runtimeActions.ts:94–106  ·  view source on GitHub ↗
(
	server: LspServerDefinition,
	context?: LspRuntimeContext,
)

Source from the content-addressed store, hash-verified

92}
93
94export async function getRuntimeUninstallCommand(
95 server: LspServerDefinition,
96 context?: LspRuntimeContext,
97): Promise<string | null> {
98 const settingsContext = getSettingsContext(server, context, "command");
99 const provider = await getProvider(server, context, "command");
100 return (
101 provider?.getUninstallCommand?.(
102 server,
103 settingsContext,
104 ) ?? null
105 );
106}
107
108export async function getRuntimeLabelForServer(
109 server: LspServerDefinition,

Callers 1

buildSnapshotFunction · 0.90

Calls 2

getSettingsContextFunction · 0.85
getProviderFunction · 0.85

Tested by

no test coverage detected