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

Function identity

graph-ui/src/twin/selected-code-snapshot.ts:27–28  ·  view source on GitHub ↗
(ref: SymbolRef)

Source from the content-addressed store, hash-verified

25 || (symbol.projectName && symbol.projectName !== project)
26 || (ir.symbol.projectName && ir.symbol.projectName !== project)) return undefined;
27 const identity = (ref: SymbolRef) => ref.qualifiedName || ref.nodeId
28 || `${ref.uri}:${ref.name}:${ref.range.start.line}:${ref.range.start.character}`;
29 return identity(ir.symbol) === identity(symbol) ? ir : undefined;
30}
31

Callers 1

matchingInspectorIrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected