mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-31 15:04:19 +01:00
Impl copy_to for Database impl in JS bindings
This commit is contained in:
@@ -516,4 +516,7 @@ 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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user