| 37 | } |
| 38 | |
| 39 | type syncWriter struct { |
| 40 | mu sync.Mutex |
| 41 | lw LevelWriter |
| 42 | } |
| 43 | |
| 44 | // SyncWriter wraps w so that each call to Write is synchronized with a mutex. |
| 45 | // This syncer can be used to wrap the call to writer's Write method if it is |
nothing calls this directly
no outgoing calls
no test coverage detected