pub fn lifecycle_workspace<'a>(
store: &'a mut CandidateStore,
corrected: &'a BTreeMap<Vec<u8>, InstallChange>,
candidates: &'a [Vec<u8>],
) -> LifecycleWorkspace<'a>Expand description
What: A view over a prepared store. candidates are the lifecycle’s candidate paths
that are not deletions.
Why: Nothing is listed until the planner asks.
In TS you’d write (pseudocode):
function lifecycleWorkspace(store, corrected, candidates): LifecycleWorkspace;