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

Function complete

graph-ui/src/app/tree-model.ts:781–782  ·  view source on GitHub ↗
(reading: NonNullable<ReturnType<typeof scopeReadings.get>>)

Source from the content-addressed store, hash-verified

779 scopeReadings.set(key, reading);
780 }
781 const complete = (reading: NonNullable<ReturnType<typeof scopeReadings.get>>) =>
782 reading.consistent && !reading.last.hasMore && reading.rows.size === reading.total;
783 const rootReading = scopeReadings.get('.');
784 const listingComplete = rootReading !== undefined && complete(rootReading);
785 const rootRows = listingComplete ? [...rootReading!.rows.values()] : [];

Callers 2

buildCoverageIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected