MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / shellQuote

Function shellQuote

src/sync/git-hooks.ts:119–121  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

117}
118
119function shellQuote(value: string): string {
120 return `'${value.replace(/'/g, `'\\''`)}'`;
121}
122
123/** The shell snippet (between markers) injected into each hook. */
124function markerBlock(root: string): string {

Callers 1

markerBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected