Close closes the reader; subsequent writes from the write half of the pipe will return error ErrClosedPipe.
()
| 158 | // Close closes the reader; subsequent writes from the write half of the pipe |
| 159 | // will return error ErrClosedPipe. |
| 160 | func (r *pipeReader) Close() error { |
| 161 | return r.CloseWithError(nil) |
| 162 | } |
| 163 | |
| 164 | // CloseWithError closes the reader; subsequent writes to the write half of the |
| 165 | // pipe will return the error err. |
nothing calls this directly
no test coverage detected