MCPcopy Index your code
hub / github.com/codeaashu/claude-code / appleScriptQuote

Function appleScriptQuote

src/utils/deepLink/terminalLauncher.ts:526–528  ·  view source on GitHub ↗

* AppleScript string literal escaping (backslash then double-quote).

(s: string)

Source from the content-addressed store, hash-verified

524 * AppleScript string literal escaping (backslash then double-quote).
525 */
526function appleScriptQuote(s: string): string {
527 return `"${s.replace(/\\/g, '\\\\').replace(/"/g, '\\"')}"`
528}
529
530/**
531 * PowerShell single-quoted string. The ONLY special sequence is '' for a

Callers 1

launchMacosTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected