MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / batchCompleted

Method batchCompleted

frontend/src/webview.ts:482–492  ·  view source on GitHub ↗

* Mark a batch as completed (increments cumulative counter).

(filesInBatch: number)

Source from the content-addressed store, hash-verified

480 * Mark a batch as completed (increments cumulative counter).
481 */
482 batchCompleted(filesInBatch: number): void {
483 this.batchState.completed++;
484 this.batchState.filesAnalyzed += filesInBatch;
485 this.postMessage({
486 command: 'batchProgress',
487 completed: this.batchState.completed,
488 total: this.batchState.total,
489 filesAnalyzed: this.batchState.filesAnalyzed,
490 elapsed: Date.now() - this.batchState.startTime
491 });
492 }
493
494 /**
495 * Get current batch stats for completion message.

Callers 1

activateFunction · 0.95

Calls 1

postMessageMethod · 0.95

Tested by

no test coverage detected