| 205 | type commitFunction func() error |
| 206 | |
| 207 | type fakeWriter struct { |
| 208 | *bytes.Buffer |
| 209 | committedDigest digest.Digest |
| 210 | status Status |
| 211 | commitFunc commitFunction |
| 212 | } |
| 213 | |
| 214 | func (f *fakeWriter) Close() error { |
| 215 | f.Buffer.Reset() |
nothing calls this directly
no outgoing calls
no test coverage detected