vec + comp: small changes

This commit is contained in:
nym21
2025-07-10 18:35:54 +02:00
parent c229e218f6
commit 1bc739d07f
2 changed files with 12 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ where
fn file_write_all(&mut self, file: &mut File, buf: &[u8]) -> Result<()> {
file.write_all(buf)?;
// file.flush()?;
// file.sync_data()?;
file.sync_data()?;
self.update_mmap(file)
}