tree_diff_with_old_hashes

Function tree_diff_with_old_hashes 

Source
pub async fn tree_diff_with_old_hashes<S: Store>(
    tree: &HashTree<S>,
    old_hashes: &HashSet<Hash>,
    new_root: &Cid,
    concurrency: usize,
) -> Result<TreeDiff, HashTreeError>
Expand description

Compute diff given pre-computed old hashes

Use this when you already have the old tree’s hash set (e.g., from a previous operation)