MCPcopy Index your code
hub / github.com/subtrace/subtrace / finalize

Method finalize

tracer/manager.go:223–229  ·  view source on GitHub ↗
(b *block)

Source from the content-addressed store, hash-verified

221}
222
223func (m *Manager) finalize(b *block) error {
224 defer m.put(b)
225 if err := b.flush(context.TODO()); err != nil {
226 return fmt.Errorf("flush: %w", err)
227 }
228 return nil
229}
230
231func (m *Manager) Insert(event string) {
232 var next *block

Callers 2

InsertMethod · 0.95
FlushMethod · 0.95

Calls 2

putMethod · 0.95
flushMethod · 0.80

Tested by

no test coverage detected