mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-05 17:24:21 +01:00
Update callsites of copy_to Database impl
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user