Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ getServer
Function
getServer
src/cm/lsp/serverRegistry.ts:395–397 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
393
}
394
395
export
function
getServer(id: string): LspServerDefinition | null {
396
return
registry.get(toKey(id)) ?? null;
397
}
398
399
export
function
listServers(): LspServerDefinition[] {
400
return
Array.from(registry.values());
Callers
1
get
Function · 0.90
Calls
2
toKey
Function · 0.70
get
Method · 0.45
Tested by
no test coverage detected