pub fn start_install(&mut self, package_hash: Hash) {
        if self.retained.contains_package(&package_hash) {
            // The retained index intends to track this package, but the first event it wants to
            // take action on is when the meta far is readable. Nothing to do now.

            // This package wasn't already in the dynamic index, so don't add it to it.
            return;
        }

        self.dynamic.start_install(package_hash);
    }
/// Notifies the appropriate indices that the package with the given hash is going to be
/// installed, ensuring the meta far blob is protected by the index.
Notifies the appropriate indices that the package with the given hash is going to be
installed, ensuring the meta far blob is protected by the index.
Notifies the appropriate indices that the package with the given hash is going to be installed ensuring the meta far blob is protected by the index .
pub fn start_install(&mut self, package_hash: Hash) {
        if self.retained.contains_package(&package_hash) {
            // The retained index intends to track this package, but the first event it wants to
            // take action on is when the meta far is readable. Nothing to do now.
            // This package wasn't already in the dynamic index, so don't add it to it.
            return;
        }
        self.dynamic.start_install(package_hash);
    }
pub fn start_install ( & mut self , package_hash : Hash ) { if self . retained . contains_package ( & package_hash ) { // The retained index intends to track this package, but the first event it wants to // take action on is when the meta far is readable. Nothing to do now. // This package wasn't already in the dynamic index, so don't add it to it. return ; } self . dynamic . start_install ( package_hash ) ; }
Notifies the appropriate indices that the package with the given hash is going to be
installed, ensuring the meta far blob is protected by the index.
Notifies the appropriate indices that the package with the given hash is going to be installed ensuring the meta far blob is protected by the index .
&mut self
package_hash
Hash
&mut self
package_hash
Hash