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

Function upsert

src/cm/lsp/api.ts:54–58  ·  view source on GitHub ↗
(
	entry: LspRegistrationEntry,
)

Source from the content-addressed store, hash-verified

52}
53
54export function upsert(
55 entry: LspRegistrationEntry,
56): LspServerDefinition | LspServerBundle {
57 return register(entry, { replace: true });
58}
59
60export const servers = {
61 get(id: string): LspServerDefinition | null {

Callers

nothing calls this directly

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected