mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-09-02 02:34:29 +00:00
Two building blocks for streaming progress on vm export/import, unused until the export/import rework wires them in: - VPhoneProcessRunner.runCountingTarPipe: drives a /usr/bin/tar consumer that reads its archive on stdin, invoking a callback with the running byte total. The source is either a producer tar (export) or a file read directly (import). SIGPIPE is ignored so a consumer that dies early surfaces as its exit status instead of killing this process. - VPhoneProgressBar: a single-line redrawing byte bar that renders to stderr only when it is a TTY, so piped/--json/GUI-subprocess runs stay clean and it simply no-ops. Co-Authored-By: Claude Fable 5 <[email protected]>