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

Function rewriteMap

graph-ui/src/twin/reader-rewrite.ts:259–265  ·  view source on GitHub ↗
(lines: readonly ReaderLine[])

Source from the content-addressed store, hash-verified

257
258/** The reworded sentences by id, for a renderer that has to put them back. */
259export function rewriteMap(lines: readonly ReaderLine[]): Readonly<Record<string, string>> {
260 const out: Record<string, string> = {};
261 for (const line of lines) {
262 out[line.id] = line.text;
263 }
264 return out;
265}

Callers 2

TwinPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected