⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

check_for_updates

Function check_for_updates 

Source
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).