/// Returns information blobs used by the specified packages.
Returns information blobs used by the specified packages.
Returns information blobs used by the specified packages .
pub fn build(&self, package_manifests: &Vec<&Path>) -> Result<Vec<BlobJsonEntry>> {
        let mut builder =
            assembly_blobfs::BlobFSBuilder::new(self.tools.get_tool("blobfs")?, &self.layout);
        builder.set_compressed(self.compress);
        package_manifests
            .iter()
            .map(|manifest| builder.add_package(&manifest))
            .collect::<Result<Vec<()>>>()?;
        let tmp_working_dir = TempDir::new()?;
        let blobfs_named_file = NamedTempFile::new()?;
        builder.build(tmp_working_dir.path(), blobfs_named_file.path())?;
        read_config(tmp_working_dir.path().join("blobs.json"))
    }
pub fn build ( & self , package_manifests : & Vec < & Path > ) -> Result < Vec < BlobJsonEntry > > { let mut builder = assembly_blobfs :: BlobFSBuilder :: new ( self . tools . get_tool ( " " ) ? , & self . layout ) ; builder . set_compressed ( self . compress ) ; package_manifests . iter ( ) . map ( | manifest | builder . add_package ( & manifest ) ) . collect :: < Result < Vec < ( ) > > > ( ) ? ; let tmp_working_dir = TempDir :: new ( ) ? ; let blobfs_named_file = NamedTempFile :: new ( ) ? ; builder . build ( tmp_working_dir . path ( ) , blobfs_named_file . path ( ) ) ? ; read_config ( tmp_working_dir . path ( ) . join ( " " ) ) }
Returns information blobs used by the specified packages.
Returns information blobs used by the specified packages .
&self
package_manifests
&Vec<&Path>