Skip to main content

verify

Function verify 

Source
pub fn verify(
    keys: &[UpdateKey],
    version: &str,
    dir: &Path,
    file: &Path,
    unreachable: Option<&str>,
) -> Result<Verdict, String>
Expand description

Check file against the signed manifest files in dir for version, using keys. unreachable is the helper’s reason when it couldn’t fetch them at all. installed is the version the package database says is installed and about to be replaced: given, the release’s upgrade floor is enforced.