Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
424
export
const
escapeString = (str: string) => {
425
return
JSON.stringify(str).slice(1, -1)
426
}
Callers
1
formatPrompt
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected