diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-12 00:03:58 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-12 00:03:58 +0300 |
| commit | 6e1bc3b4136fc79999c97c39713c3c3f24cbcc1c (patch) | |
| tree | 74fc2015d606bed65d17d064815b82731437476b /cmd | |
| parent | cbf4e025be9d2ceeafd1f67eb1373fc11af65193 (diff) | |
refactor: split Snapshot in statsengine to comply with 50-line limit
Extract captureSnapshotInputs (lock-guarded state copy), buildSubSnapshots
(concurrent per-category builders), and populateSnapshotFields (scalar
field assignment) from the monolithic Snapshot method. The method itself
is now 18 lines; all three helpers are well under 30 lines each.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
