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

Function quote

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

Source from the content-addressed store, hash-verified

236export function localCommitCommand(hash: string, ...paths: string[]): string {
237 if (!/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/.test(hash)) return 'Commit hash unavailable';
238 const quote = (value: string): string => `'${value.replaceAll("'", "'\\''")}'`;
239 return `git show ${hash} -- ${paths.map(quote).join(' ')}`;
240}
241

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected