MCPcopy Index your code
hub / github.com/anomalyco/opencode / squote

Function squote

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

Source from the content-addressed store, hash-verified

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

Callers 1

evalargFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected