MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / c_escape

Function c_escape

scripts/gen-py-stdlib.py:332–333  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

330
331
332def c_escape(s: str) -> str:
333 return s.replace("\\", "\\\\").replace("\"", "\\\"")
334
335
336def emit(stubs: list[ModuleStubs], output_path: Path) -> None:

Callers 1

emitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected