mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-08 18:54:21 +01:00
Update apparently very old branch to new api
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user