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

Function takeTimedOut

src/extraction/kernel/index.ts:227–230  ·  view source on GitHub ↗

The budget a just-timed-out file ran past, if it matches.

(filePath: string, source: string, language: Language)

Source from the content-addressed store, hash-verified

225
226/** The budget a just-timed-out file ran past, if it matches. */
227function takeTimedOut(filePath: string, source: string, language: Language): number | null {
228 return timeoutSlot && timeoutSlot.filePath === filePath && timeoutSlot.source === source &&
229 timeoutSlot.language === language ? timeoutSlot.budgetMs : null;
230}
231
232/** The hoisted preParse output for a just-deferred file, if it matches. */
233export function takeDeferredPreParse(

Callers 2

tryKernelExtractRawFunction · 0.85
tryKernelExtractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected