Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ escape
Function
escape
tools/response_file.py:24–27 ·
view source on GitHub ↗
(arg)
Source
from the content-addressed store, hash-verified
22
escape_chars += [
'\'
&
#x27;]
23
24
def
escape(arg):
25
for
char in escape_chars:
26
arg = arg.replace(char,
'\\'
+ char)
27
return
arg
28
29
args = [escape(a)
for
a in args]
30
contents =
''
Callers
1
create_response_file_contents
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected