Files
mini_lsm/mini-lsm/src/wal.rs

20 lines
313 B
Rust
Raw Normal View History

use std::path::Path;
use anyhow::Result;
pub struct Wal {}
impl Wal {
pub fn create(path: impl AsRef<Path>) -> Result<Self> {
unimplemented!()
}
pub fn put(&self, key: &[u8], value: &[u8]) -> Result<()> {
Ok(())
}
pub fn sync(&self) -> Result<()> {
Ok(())
}
}