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

Function stringEntry

src/resolution/frameworks/next-proxy.ts:148–151  ·  view source on GitHub ↗
(s: string, at: number)

Source from the content-addressed store, hash-verified

146}
147
148function stringEntry(s: string, at: number): ProxyMatcherEntry | null {
149 const source = readStringAt(s, at);
150 return source === null || source.includes(HOLE) ? null : { source, index: at };
151}
152
153/** The offset of a field's value, from the offset of its key. */
154function valueAfterKey(s: string, keyAt: number): number {

Callers 2

readProxyMatcherFunction · 0.85
sourceEntryFunction · 0.85

Calls 1

readStringAtFunction · 0.90

Tested by

no test coverage detected