mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-31 06:54:21 +01:00
core: Add size method to DatabaseStorage trait
This commit is contained in:
@@ -584,6 +584,10 @@ impl limbo_core::DatabaseStorage for DatabaseFile {
|
||||
fn sync(&self, c: Arc<limbo_core::Completion>) -> limbo_core::Result<()> {
|
||||
self.file.sync(c)
|
||||
}
|
||||
|
||||
fn size(&self) -> limbo_core::Result<u64> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
||||
Reference in New Issue
Block a user