Close file f, ensuring all changes are physically on disk.
(f)
| 2203 | os.fsync(f.fileno()) |
| 2204 | |
| 2205 | def _sync_close(f): |
| 2206 | """Close file f, ensuring all changes are physically on disk.""" |
| 2207 | _sync_flush(f) |
| 2208 | f.close() |
| 2209 | |
| 2210 | |
| 2211 | class Error(Exception): |
no test coverage detected
searching dependent graphs…