Update apparently very old branch to new api

This commit is contained in:
PThorpe92
2025-07-18 00:20:06 -04:00
committed by Jussi Saurio
parent cfbe9d5b9e
commit dcf346b9b0
11 changed files with 35 additions and 51 deletions

View File

@@ -726,7 +726,7 @@ impl turso_core::DatabaseStorage for DatabaseFile {
fn size(&self) -> turso_core::Result<u64> {
self.file.size()
}
fn truncate(&self, len: usize, c: turso_core::Completion) -> turso_core::Result<()> {
fn truncate(&self, len: usize, c: Arc<turso_core::Completion>) -> turso_core::Result<()> {
let _ = self.file.truncate(len, c)?;
Ok(())
}