MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / shellQuote

Function shellQuote

e2e/desktop-vm/custom-tools-sidecar.test.ts:116–116  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

114 Effect.promise(() => ssh(`rm -rf '${path}'`).then(() => undefined)).pipe(Effect.ignore);
115
116const shellQuote = (value: string): string => `'${value.replaceAll("'", "'\\''")}'`;
117
118const guestRequest = async <T>(
119 path: string,

Callers 1

guestRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected