brk: first commit

This commit is contained in:
nym21
2025-02-23 01:25:15 +01:00
parent 8c3f519016
commit 19cf34f9d4
266 changed files with 225 additions and 1268 deletions

View File

@@ -0,0 +1,17 @@
use allocative::Allocative;
use bincode::{Decode, Encode};
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Copy, Encode, Decode, Allocative)]
pub struct BlockPath {
pub date_index: u16,
pub block_index: u16,
}
impl BlockPath {
pub fn new(date_index: u16, block_index: u16) -> Self {
Self {
date_index,
block_index,
}
}
}