compute_signature

Function compute_signature 

Source
pub fn compute_signature(packages: &[PackageItem]) -> Vec<String>
Expand description

What: Generate a deterministic signature for sandbox cache comparisons.

Inputs:

  • packages: Slice of install list entries contributing their package names.

Output:

  • Sorted vector of package names that can be compared for cache validity checks.

Details:

  • Clones each package name and sorts the collection alphabetically.