MCPcopy
hub / github.com/anomalyco/opencode / quote

Function quote

packages/opencode/test/tool/shell.test.ts:86–86  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

84
85Shell.acceptable.reset()
86const quote = (text: string) => `"${text}"`
87const squote = (text: string) => `'${text}'`
88const projectRoot = path.join(__dirname, "../..")
89const bin = quote(process.execPath.replaceAll("\\", "/"))

Callers 2

shell.test.tsFile · 0.70
evalargFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected