mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
core,wasm: add missing write procedure to wasm
This commit is contained in:
@@ -39,4 +39,13 @@ impl limbo_core::PageIO for PageIO {
|
||||
fn get(&self, _page_idx: usize, _c: Rc<limbo_core::Completion>) -> Result<()> {
|
||||
todo!();
|
||||
}
|
||||
|
||||
fn write(
|
||||
&self,
|
||||
_page_idx: usize,
|
||||
_buffer: Rc<std::cell::RefCell<limbo_core::Buffer>>,
|
||||
_c: Rc<limbo_core::WriteCompletion>,
|
||||
) -> Result<()> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ use std::{cell::RefCell, rc::Rc};
|
||||
|
||||
#[cfg(feature = "fs")]
|
||||
pub use io::PlatformIO;
|
||||
pub use io::{Buffer, Completion, File, IO};
|
||||
pub use io::{Buffer, Completion, File, WriteCompletion, IO};
|
||||
pub use storage::{PageIO, PageSource};
|
||||
pub use types::Value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user