cargo::ops

Function print_lockfile_changes

source
pub fn print_lockfile_changes(
    ws: &Workspace<'_>,
    previous_resolve: Option<&Resolve>,
    resolve: &Resolve,
    registry: &mut PackageRegistry<'_>,
) -> CargoResult<()>
Expand description

Prints lockfile change statuses.

This would acquire the package-cache lock, as it may update the index to show users latest available versions.