leaf_ops_spliced

Function leaf_ops_spliced 

Source
pub fn leaf_ops_spliced(
    leaf: Option<LeafData>,
    ops: &[(KeyPath, Option<ValueHash>)],
) -> impl Iterator<Item = (KeyPath, ValueHash)> + Clone + '_
Expand description

Creates an iterator of all provided operations, with the leaf value spliced in if its key does not appear in the original ops list. Then filters out all Nones.