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

Function safeString

src/cm/lsp/clientManager.ts:76–78  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

74}
75
76function safeString(value: unknown): string {
77 return value != null ? String(value) : "";
78}
79
80function isSettingsOrKeybindingsFile(
81 server: LspServerDefinition,

Callers 4

getExtensionsForFileMethod · 0.85
formatDocumentMethod · 0.85
#resolveRootUriMethod · 0.85
#resolveDocumentUriMethod · 0.85

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected