wip big download

This commit is contained in:
TIBERGHIEN corentin
2026-01-24 16:50:56 +01:00
parent 31b26e96b0
commit c928d98b56
7 changed files with 124 additions and 33 deletions

View File

@@ -49,6 +49,7 @@ pub fn parse_received_datum(
}
}
BIG => {
println!("its a BIG bro");
let chlidren: Vec<NodeHash> = Vec::new();
Some((
hash_name,
@@ -56,13 +57,6 @@ pub fn parse_received_datum(
children_hashes: chlidren,
}),
))
/*let chlidren: Vec<NodeHash> = Vec::new();
tree.data.insert(
hash_name,
MerkleNode::Big(crate::BigNode {
children_hashes: chlidren,
}),
);*/
}
BIGDIRECTORY => {
let mut bigdir_entries: Vec<NodeHash> = Vec::new();