MCPcopy
hub / github.com/kopia/kopia / flushNextBuffer

Method flushNextBuffer

internal/repodiag/log_manager.go:110–112  ·  view source on GitHub ↗
(blobID blob.ID, buf *gather.WriteBuffer)

Source from the content-addressed store, hash-verified

108}
109
110func (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.
115func (m *LogManager) Sync() {

Callers 2

outputEntryMethod · 0.95
SyncMethod · 0.95

Calls 2

BytesMethod · 0.45

Tested by

no test coverage detected