| 43 | } |
| 44 | |
| 45 | type limitedReadCloser struct { |
| 46 | io.ReadCloser |
| 47 | release func() |
| 48 | once sync.Once |
| 49 | } |
| 50 | |
| 51 | func (l *limitedReadCloser) Close() error { |
| 52 | err := l.ReadCloser.Close() |
nothing calls this directly
no outgoing calls
no test coverage detected