wip big download
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user