Flush the buffered data from previous calls to [Self::commit] to the underlying storage. Call [Self::sync] to instruct the underlying storage to flush its buffers as well.
(&mut self)
| 146 | /// Call [Self::sync] to instruct the underlying storage to flush its |
| 147 | /// buffers as well. |
| 148 | pub fn flush(&mut self) -> io::Result<()> { |
| 149 | self.head.flush() |
| 150 | } |
| 151 | |
| 152 | /// Calls [Self::flush] and then [Self::sync]. |
| 153 | fn flush_and_sync(&mut self) -> io::Result<()> { |
no outgoing calls
no test coverage detected