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

Function sourceEntry

src/resolution/frameworks/next-proxy.ts:143–146  ·  view source on GitHub ↗
(s: string, open: number)

Source from the content-addressed store, hash-verified

141}
142
143function sourceEntry(s: string, open: number): ProxyMatcherEntry | null {
144 const source = readFields(s, open, matchBracket(s, open)).get('source');
145 return source ? stringEntry(s, valueAfterKey(s, source.at)) : null;
146}
147
148function stringEntry(s: string, at: number): ProxyMatcherEntry | null {
149 const source = readStringAt(s, at);

Callers 1

readProxyMatcherFunction · 0.85

Calls 5

readFieldsFunction · 0.90
matchBracketFunction · 0.90
stringEntryFunction · 0.85
valueAfterKeyFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected