fn lock_replacements(
ws: &Workspace<'_>,
previous: Option<&Resolve>,
keep: &'_ dyn Fn(&PackageId) -> bool,
) -> Vec<(PackageIdSpec, Dependency)>
Expand description
Locks each [replace]
entry to a specific Package ID
if the lockfile contains any corresponding previous replacement.