Skip to main content

applied_patches

Function applied_patches 

Source
pub async fn applied_patches(
    manifest: &PatchManifest,
    package_paths: &HashMap<String, PathBuf>,
) -> VerifyOutcome
Expand description

Walk the manifest and bucket each PURL into applied / failed.

package_paths is the CLI-supplied purl -> on-disk package dir map (from find_packages_for_purls). A PURL absent from the map is recorded as package_not_found and ends up in failed.