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

Function takeTimedOut

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

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

Callers 2

tryKernelExtractRawFunction · 0.85
tryKernelExtractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected