MCPcopy
hub / github.com/garrytan/gstack / evictUntilUnderCap

Function evictUntilUnderCap

design/src/daemon.ts:173–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171}
172
173function evictUntilUnderCap(): void {
174 while (boards.size > MAX_BOARDS) {
175 if (!evictOne()) break;
176 }
177}
178
179function findActiveBoardForSourceDir(sourceDir: string): Board | null {
180 for (const b of boards.values()) {

Callers 1

handlePublishFunction · 0.85

Calls 1

evictOneFunction · 0.85

Tested by

no test coverage detected