| 67 | } |
| 68 | |
| 69 | type atomicFile struct { |
| 70 | name string |
| 71 | f *os.File |
| 72 | closed bool |
| 73 | closedMu sync.RWMutex |
| 74 | } |
| 75 | |
| 76 | func newFile(name string, mode os.FileMode) (File, error) { |
| 77 | dir := filepath.Dir(name) |
nothing calls this directly
no outgoing calls
no test coverage detected