MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / resolved

Function resolved

src/resolution/frameworks/codeigniter.ts:301–302  ·  view source on GitHub ↗
(target: Node | null | undefined, confidence: number)

Source from the content-addressed store, hash-verified

299 resolve(ref: UnresolvedRef, context: ResolutionContext): ResolvedRef | null {
300 const name = ref.referenceName;
301 const resolved = (target: Node | null | undefined, confidence: number): ResolvedRef | null =>
302 target ? { original: ref, targetNodeId: target.id, confidence, resolvedBy: 'framework' } : null;
303
304 if (name.startsWith(METHOD_REF)) {
305 const [file, method] = name.slice(METHOD_REF.length).split('|');

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected