diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-24 00:10:15 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-24 00:10:15 +0200 |
| commit | 65ec49a97b1fcf633c1c6ba92e3db71ecd477196 (patch) | |
| tree | 48b47389e1384f86ff81f849fd526a09ab9c4e0d /internal/ssh | |
| parent | ecb963eb98dd9174d017dd504a48fb2ea048c42d (diff) | |
refactor: split large functions for maintainability
Split functions exceeding 50 lines into smaller, focused helpers:
- DirectTurboWriter.WriteLineData (~97 lines) split into:
- WriteLineData (dispatcher, 9 lines)
- writeServerlessLine (serverless mode, 48 lines)
- writeNetworkLine (network mode, 40 lines)
- TurboNetworkWriter.WriteLineData (~60 lines) split into:
- WriteLineData (builds protocol line, 33 lines)
- sendToTurboChannel (channel send with retry, 28 lines)
- Server.handleRequests (~67 lines) split into:
- handleRequests (request loop, 23 lines)
- handleShellRequest (shell session setup, 57 lines)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/ssh')
0 files changed, 0 insertions, 0 deletions
