Update callsites of copy_to Database impl

This commit is contained in:
PThorpe92
2025-08-13 15:07:40 -04:00
parent 55f09a01c4
commit 3c088dda59
2 changed files with 10 additions and 5 deletions

View File

@@ -530,7 +530,12 @@ impl turso_core::DatabaseStorage for DatabaseFile {
let c = self.file.truncate(len, c)?;
Ok(c)
}
fn copy_to(&self, io: &dyn turso_core::IO, path: &str) -> turso_core::Result<()> {
self.file.copy_to(io, path)
fn copy_to(
&self,
src_io: &dyn turso_core::IO,
dest_io: &dyn turso_core::IO,
path: &str,
) -> turso_core::Result<()> {
self.file.copy_to(src_io, dest_io, path)
}
}