pub fn start_install(&mut self, package_hash: Hash) {
        let Self { packages, node, .. } = self;
        packages.entry(package_hash).or_insert_with(|| {
            let child_node = node.create_child(package_hash.to_string());
            PackageWithInspect {
                package: Package::Pending,
                package_node: PackageNode::Pending {
                    state: child_node.create_string("state", "pending"),
                    time: child_node.create_int("time", zx::Time::get_monotonic().into_nanos()),
                    node: child_node,
                },
            }
        });
    }
/// Notifies dynamic index that the given package is going to be installed, to keep the meta
/// far blob protected.
Notifies dynamic index that the given package is going to be installed, to keep the meta
far blob protected.
Notifies dynamic index that the given package is going to be installed to keep the meta far blob protected .
pub fn start_install(&mut self, package_hash: Hash) {
        let Self { packages, node, .. } = self;
        packages.entry(package_hash).or_insert_with(|| {
            let child_node = node.create_child(package_hash.to_string());
            PackageWithInspect {
                package: Package::Pending,
                package_node: PackageNode::Pending {
                    state: child_node.create_string("state", "pending"),
                    time: child_node.create_int("time", zx::Time::get_monotonic().into_nanos()),
                    node: child_node,
                },
            }
        });
    }
pub fn start_install ( & mut self , package_hash : Hash ) { let Self { packages , node , .. } = self ; packages . entry ( package_hash ) . or_insert_with ( | | { let child_node = node . create_child ( package_hash . to_string ( ) ) ; PackageWithInspect { package : Package :: Pending , package_node : PackageNode :: Pending { state : child_node . create_string ( " " , " " ) , time : child_node . create_int ( " " , zx :: Time :: get_monotonic ( ) . into_nanos ( ) ) , node : child_node , } , } } ) ; }
Notifies dynamic index that the given package is going to be installed, to keep the meta
far blob protected.
Notifies dynamic index that the given package is going to be installed to keep the meta far blob protected .
&mut self
package_hash
Hash
&mut self
package_hash
Hash