MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / same-module-copy-resolution.test.ts

File same-module-copy-resolution.test.ts

__tests__/same-module-copy-resolution.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * A module duplicated under another source root (`rc2/…` vs `rcpro2/…`) gives
3 * every bare name two same-named candidates, one per copy. Directory proximity
4 * is capped, so on a deep tree both copies score the same and the first-indexed

Callers

nothing calls this directly

Calls 12

describeFunction · 0.85
resolveReferencesMethod · 0.80
mapMethod · 0.80
writeFunction · 0.70
callsFromFunction · 0.70
fnFunction · 0.70
allMethod · 0.65
getNodesByKindMethod · 0.65
joinMethod · 0.45
destroyMethod · 0.45
initMethod · 0.45
getOutgoingEdgesMethod · 0.45

Tested by

no test coverage detected