MCPcopy Create free account
hub / github.com/GCWing/BitFun / getSnapshot

Method getSnapshot

src/web-ui/src/shared/utils/startupTrace.ts:520–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

518 }
519
520 getSnapshot(): StartupTraceSnapshot {
521 return {
522 traceId: this.traceId,
523 phases: {
524 count: this.phaseEvents,
525 events: this.phaseRecords.map(record => ({ ...record })),
526 },
527 api: this.buildApiSummary(),
528 };
529 }
530
531 flushSummary(reason: string): void {
532 if (!this.enabled) {

Callers 3

flushSummaryMethod · 0.95
startupTrace.tsFile · 0.45

Calls 1

buildApiSummaryMethod · 0.95

Tested by

no test coverage detected