| 13 | var errStdoutBrokenPipe = errors.New("stdout broken pipe") |
| 14 | |
| 15 | type partialTransferError struct { |
| 16 | bytesWritten int64 |
| 17 | } |
| 18 | |
| 19 | func (e partialTransferError) Error() string { |
| 20 | return fmt.Sprintf("download failed after writing %d bytes to stdout; cannot retry partial output", e.bytesWritten) |
nothing calls this directly
no outgoing calls
no test coverage detected