MCPcopy Create free account
hub / github.com/vercel/examples / _sh_quote

Function _sh_quote

python/vibe-coding-ide/backend/src/sandbox/utils.py:288–289  ·  view source on GitHub ↗
(p: str)

Source from the content-addressed store, hash-verified

286
287 # Small helper to safely single-quote paths for bash
288 def _sh_quote(p: str) -> str:
289 return "'" + p.replace("'", "'\"'\"'") + "'"
290
291 project_map = ctx.context.project or {}
292

Callers 1

autosync_after_fs_changeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected