fn product_bundle_from_container_path<P: AsRef<Path>>(
    path: P,
    bundle: &str,
) -> Result<ProductBundleV1> {
    let mut entries = fms::Entries::new();
    entries.add_from_path(path.as_ref())?;
    Ok(fms::find_product_bundle(&entries, &Some(bundle.to_string()))?.clone())
}
/// Read a product bundle entry from a product bundle container file.
///
/// `path` is a local path to the product bundle container file.
/// `bundle` is the FMS Name of the desired product bundle.
Read a product bundle entry from a product bundle container file.
`path` is a local path to the product bundle container file.
`bundle` is the FMS Name of the desired product bundle.
Read a product bundle entry from a product bundle container file . ` path ` is a local path to the product bundle container file . ` bundle ` is the FMS Name of the desired product bundle .
fn product_bundle_from_container_path<P: AsRef<Path>>(
    path: P,
    bundle: &str,
) -> Result<ProductBundleV1> {
    let mut entries = fms::Entries::new();
    entries.add_from_path(path.as_ref())?;
    Ok(fms::find_product_bundle(&entries, &Some(bundle.to_string()))?.clone())
}
fn product_bundle_from_container_path < P : AsRef < Path > > ( path : P , bundle : & str , ) -> Result < ProductBundleV1 > { let mut entries = fms :: Entries :: new ( ) ; entries . add_from_path ( path . as_ref ( ) ) ? ; Ok ( fms :: find_product_bundle ( & entries , & Some ( bundle . to_string ( ) ) ) ? . clone ( ) ) }
Read a product bundle entry from a product bundle container file.
Read a product bundle entry from a product bundle container file .
path
P
bundle
&str
path
P
bundle
&str