MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / escape_string

Method escape_string

tools/toolchain_profiler.py:151–152  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

149
150 @staticmethod
151 def escape_string(arg):
152 return arg.replace('\\', '\\\\').replace('"', '\\"')
153
154 @staticmethod
155 def escape_args(args):

Callers 2

escape_argsMethod · 0.80
profile_blockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected