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

Function unquote

graph-ui/src/provider/compact-rows.ts:146–152  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

144}
145
146function unquote(value: string): string {
147 const trimmed = value.trim();
148 if (trimmed.length >= 2 && trimmed.startsWith('"') && trimmed.endsWith('"')) {
149 return splitCells(trimmed)[0] ?? '';
150 }
151 return trimmed;
152}
153
154function readColumns(raw: string): string[] {
155 const columns = raw.trim().split(/\s+/).filter((c) => c.length > 0);

Callers 2

parseCompactRowsFunction · 0.70
parseSearchResultsFunction · 0.70

Calls 1

splitCellsFunction · 0.85

Tested by

no test coverage detected