Skip to content

Commit 8eea09f

Browse files
committed
refactor(guest-agent): split main.go into logical files
Reorganized the 732-line main.go into a cleaner structure: - main.go: Server setup, listener, gRPC registration (minimal) - exec.go: Exec-related methods (Exec, executeTTY, executeNoTTY, buildEnv) - cp.go: Copy methods (CopyToGuest, CopyFromGuest, helpers) - stat.go: StatPath method This matches the lib/*/README.md pattern used in the server codebase and makes the guest-agent more maintainable as it grows.
1 parent 7d65c91 commit 8eea09f

File tree

4 files changed

+719
-689
lines changed

4 files changed

+719
-689
lines changed

0 commit comments

Comments
 (0)