pub fn check_for_updates(
installed: &[PackageMetadata],
available: &[PackageMetadata],
) -> Vec<UpdateNotification>Expand description
Compare installed packages against available packages and return notifications for packages that have newer versions.
A notification is flagged as a security update if the available package’s description contains “security” (case-insensitive).