()
| 726 | } |
| 727 | |
| 728 | func (lb *limitedBuffer) String() string { |
| 729 | s := lb.buf.String() |
| 730 | if lb.truncated { |
| 731 | s += "\n[output truncated at 1MB]" |
| 732 | } |
| 733 | return s |
| 734 | } |
| 735 | |
| 736 | func (lb *limitedBuffer) Len() int { return lb.buf.Len() } |
no outgoing calls