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 25f3377 commit e9be71eCopy full SHA for e9be71e
src/internal/partial_solution.rs
@@ -257,6 +257,21 @@ impl<DP: DependencyProvider> PartialSolution<DP> {
257
self.next_global_index += 1;
258
}
259
260
+ /// The list of package that have not been selected after the last prioritization.
261
+ ///
262
+ /// This list gets updated by [`Self::pick_highest_priority_pkg`] and cleared by backtracking.
263
+ #[allow(clippy::type_complexity)]
264
+ pub fn undecided_packages(
265
+ &self,
266
+ ) -> impl Iterator<
267
+ Item = (
268
+ &Id<DP::P>,
269
+ &(<DP as DependencyProvider>::Priority, Reverse<u32>),
270
+ ),
271
+ > {
272
+ self.prioritized_potential_packages.iter()
273
+ }
274
+
275
/// Add a derivation.
276
pub(crate) fn add_derivation(
277
&mut self,
0 commit comments