MockRawWriter
| 72 | |
| 73 | // MockRawWriter |
| 74 | type MockRawWriter struct { |
| 75 | writeBuffer map[string][]byte |
| 76 | appendBuffer []byte |
| 77 | closeAppendCalled bool |
| 78 | deleteCalls map[string]map[string]int |
| 79 | err error |
| 80 | } |
| 81 | |
| 82 | func (m *MockRawWriter) Write(_ context.Context, object string, keypath KeyPath, data io.Reader, size int64, _ *CacheInfo) error { |
| 83 | if m.writeBuffer == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected