MCPcopy Create free account
hub / github.com/FastLED/FastLED / _q

Function _q

ci/meson/native_launchers.py:342–343  ·  view source on GitHub ↗
(p: str)

Source from the content-addressed store, hash-verified

340 # to contain ``'`` in practice, but defensive escaping costs nothing
341 # and avoids a hard-to-debug native-file parse error.
342 def _q(p: str) -> str:
343 return p.replace("'", "\\'")
344
345 return FastNativeEntries(
346 cc=f"['{_q(ctc_c)}']",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected