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

Function node

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

Source from the content-addressed store, hash-verified

102 return value;
103}
104function node(value: unknown): ImpactEvidenceNode {
105 const row = object(value);
106 return { id: count(row.id), name: text(row.name), qualified_name: text(row.qualified_name),
107 file_path: text(row.file_path), line: count(row.line) };
108}
109
110/** Fail closed: an API error or malformed evidence never becomes a reassuring zero. */
111export function readSelectionImpact(value: unknown): SelectionImpactReply {

Callers 1

readSelectionImpactFunction · 0.70

Calls 3

objectFunction · 0.70
countFunction · 0.70
textFunction · 0.70

Tested by

no test coverage detected