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

Method startBatchProgress

frontend/src/webview.ts:463–477  ·  view source on GitHub ↗

* Start tracking batch progress (resets counters).

(total: number)

Source from the content-addressed store, hash-verified

461 * Start tracking batch progress (resets counters).
462 */
463 startBatchProgress(total: number): void {
464 this.batchState = {
465 completed: 0,
466 total,
467 startTime: Date.now(),
468 filesAnalyzed: 0
469 };
470 this.postMessage({
471 command: 'batchProgress',
472 completed: 0,
473 total,
474 filesAnalyzed: 0,
475 elapsed: 0
476 });
477 }
478
479 /**
480 * Mark a batch as completed (increments cumulative counter).

Callers 3

activateFunction · 0.95
analyzeSelectedFilesFunction · 0.80
analyzeWorkspaceFunction · 0.80

Calls 1

postMessageMethod · 0.95

Tested by

no test coverage detected