pub(crate) fn describe_path<'a>(
    path: impl Iterator<Item = (&'a PackageId, Option<&'a Dependency>)>
) -> String
Expand description

Returns String representation of dependency chain for a particular pkgid.

Note that all elements of path iterator should have Some dependency except the first one. It would look like:

(pkg0, None) -> (pkg1, dep from pkg1 satisfied by pkg0) -> (pkg2, dep from pkg2 satisfied by pkg1) -> …