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

Method ref

__tests__/resolution-order-independence.test.ts:38–38  ·  view source on GitHub ↗

The reference to `name` written in `file`, in the function `from`.

(file: string, from: string, name: string, kind?: UnresolvedRef['referenceKind'], written?: string)

Source from the content-addressed store, hash-verified

36 fresh(): ReferenceResolver;
37 /** The reference to `name` written in `file`, in the function `from`. */
38 ref(file: string, from: string, name: string, kind?: UnresolvedRef['referenceKind'], written?: string): UnresolvedRef;
39 /** What each reference resolves to when they're asked in this order and when asked in the other. */
40 bothOrders(refs: UnresolvedRef[]): { forward: Array<string | undefined>; reverse: Array<string | undefined> };
41 id(qualifiedName: string): string;

Callers 2

refsFunction · 0.80

Calls

no outgoing calls

Tested by 1

refsFunction · 0.64