MCPcopy
hub / github.com/uber-go/zap / Sync

Method Sync

zapcore/write_syncer.go:71–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71func (s *lockedWriteSyncer) Sync() error {
72 s.Lock()
73 err := s.ws.Sync()
74 s.Unlock()
75 return err
76}
77
78type writerWrapper struct {
79 io.Writer

Callers

nothing calls this directly

Calls 1

SyncMethod · 0.65

Tested by

no test coverage detected