Skip to main content

accept_package

Function accept_package 

Source
pub fn accept_package(
    trust: &mut TrustStore,
    package: &LoadedPackage,
) -> Result<(), String>
Expand description

Records the build of package (verify_package) in trust: older builds of its app are refused from now on. Refused if the package or its release key was revoked since it was verified.