(blobID blob.ID, buf *gather.WriteBuffer)
| 108 | } |
| 109 | |
| 110 | func (m *LogManager) flushNextBuffer(blobID blob.ID, buf *gather.WriteBuffer) { |
| 111 | m.writer.EncryptAndWriteBlobAsync(m.ctx, blobID, buf.Bytes(), buf.Close) |
| 112 | } |
| 113 | |
| 114 | // Sync flushes the current buffer to the repository. |
| 115 | func (m *LogManager) Sync() { |
no test coverage detected