MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / constructor

Method constructor

graph-ui/src/twin/ir-cache.ts:78–83  ·  view source on GitHub ↗
(
        private readonly fetcher: IrFetcher,
        /** Wird genau einmal je echter Serveranfrage gerufen. */
        private readonly onFetch: () => void = () => undefined,
        private readonly capacity: number = IR_CACHE_CAPACITY,
    )

Source from the content-addressed store, hash-verified

76 private readonly inFlight = new Map<string, Promise<IrEntry>>();
77
78 constructor(
79 private readonly fetcher: IrFetcher,
80 /** Wird genau einmal je echter Serveranfrage gerufen. */
81 private readonly onFetch: () => void = () => undefined,
82 private readonly capacity: number = IR_CACHE_CAPACITY,
83 ) {}
84
85 /** Was schon dasteht, ohne zu fragen. */
86 peek(symbol: SymbolRef): IrEntry | undefined {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected