MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / escapeString

Function escapeString

common/src/util/string.ts:424–426  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

422}
423
424export const escapeString = (str: string) => {
425 return JSON.stringify(str).slice(1, -1)
426}

Callers 1

formatPromptFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected