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

Function sameSymbol

graph-ui/src/core/trace-protocol.ts:75–80  ·  view source on GitHub ↗
(left: string | undefined, right: string | undefined)

Source from the content-addressed store, hash-verified

73 * exists to avoid.
74 */
75export function sameSymbol(left: string | undefined, right: string | undefined): boolean {
76 if (left === undefined || right === undefined || left.length === 0 || right.length === 0) {
77 return false;
78 }
79 return left === right || left.endsWith(`.${right}`) || right.endsWith(`.${left}`);
80}

Callers 1

runtimeCitationsForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected