jj_lib::refs

Function iter_named_local_remote_refs

source
pub fn iter_named_local_remote_refs<'a, 'b, K: Ord>(
    refs1: impl IntoIterator<Item = (K, &'a RefTarget)>,
    refs2: impl IntoIterator<Item = (K, &'b RemoteRef)>,
) -> impl Iterator<Item = (K, (&'a RefTarget, &'b RemoteRef))>
Expand description

Iterates local refs1 and remote refs2 pairs by name.

refs1 and refs2 must be sorted by K.