Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/massCodeIO/massCode
/ shellAnsiCString
Function
shellAnsiCString
src/renderer/components/http/requestPreview.ts:147–149 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
145
}
146
147
function
shellAnsiCString(value: string): string {
148
return
`$
'${value.replaceAll('
\\
', '
\\\\
').replaceAll('
\
''
,
'\\\'
')}'
`
149
}
150
151
function
bodyLines(draft: HttpRequestDraft): string[] {
152
if
(
Callers
1
buildCurlPreview
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected