| 47 | } |
| 48 | |
| 49 | type lockedWriteSyncer struct { |
| 50 | sync.Mutex |
| 51 | ws WriteSyncer |
| 52 | } |
| 53 | |
| 54 | // Lock wraps a WriteSyncer in a mutex to make it safe for concurrent use. In |
| 55 | // particular, *os.Files must be locked before use. |
nothing calls this directly
no outgoing calls
no test coverage detected