vecs: init

This commit is contained in:
nym21
2025-07-21 11:02:25 +02:00
parent 7ef70b953b
commit 5347523921
23 changed files with 471 additions and 86 deletions

View File

@@ -0,0 +1,12 @@
use std::path::Path;
use brk_core::Result;
use brk_vecs::{File, PAGE_SIZE};
fn main() -> Result<()> {
let file = File::open(Path::new("vecs"))?;
file.grow_if_needed(PAGE_SIZE * 1_000_000)?;
Ok(())
}