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

Function takeTimedOut

src/extraction/kernel/index.ts:214–217  ·  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

212
213/** The budget a just-timed-out file ran past, if it matches. */
214function takeTimedOut(filePath: string, source: string, language: Language): number | null {
215 return timeoutSlot && timeoutSlot.filePath === filePath && timeoutSlot.source === source &&
216 timeoutSlot.language === language ? timeoutSlot.budgetMs : null;
217}
218
219/** The hoisted preParse output for a just-deferred file, if it matches. */
220export function takeDeferredPreParse(

Callers 2

tryKernelExtractRawFunction · 0.85
tryKernelExtractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected