We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d8080 commit 19ea6eaCopy full SHA for 19ea6ea
src/store/util.rs
@@ -407,10 +407,10 @@ impl bao_tree::io::mixed::Sender for BaoTreeSender {
407
408
#[cfg(test)]
409
pub mod tests {
410
- use crate::hash::Hash;
411
- use crate::store::IROH_BLOCK_SIZE;
412
use bao_tree::{io::outboard::PreOrderMemOutboard, ChunkRanges};
413
+ use crate::{hash::Hash, store::IROH_BLOCK_SIZE};
+
414
/// Create n0 flavoured bao. Note that this can be used to request ranges below a chunk group size,
415
/// which can not be exported via bao because we don't store hashes below the chunk group level.
416
pub fn create_n0_bao(data: &[u8], ranges: &ChunkRanges) -> anyhow::Result<(Hash, Vec<u8>)> {
0 commit comments