mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-06 12:19:09 -07:00
13 lines
212 B
Rust
13 lines
212 B
Rust
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.set_min_len(PAGE_SIZE * 1_000_000)?;
|
|
|
|
Ok(())
|
|
}
|