MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / quote

Function quote

graph-ui/src/impact/change-set.ts:111–111  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

109export function localDiffCommand(base: string, filePath: string): string {
110 if (!validChangeRef(base)) return '';
111 const quote = (value: string) => `'${value.replaceAll("'", "'\\''")}'`;
112 return `git diff ${quote(base)} -- ${quote(filePath)}`;
113}

Callers 1

localDiffCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected