MCPcopy Create free account
hub / github.com/anomalyco/opencode / escape

Method escape

packages/plugin/src/shell.ts:22–22  ·  view source on GitHub ↗

* Escape strings for input into shell commands.

(input: string)

Source from the content-addressed store, hash-verified

20 * Escape strings for input into shell commands.
21 */
22 escape(input: string): string
23
24 /**
25 * Change the default environment variables for shells created by this instance.

Callers 3

activeItemFunction · 0.80
activeItemFunction · 0.80
applyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected