pack

Function pack 

Source
pub async fn pack<M: Manifest>(
    dir_path: &Path,
    target_path: Option<PathBuf>,
    name: String,
) -> Result<PathBuf, HcBundleError>
Expand description

Pack a directory containing a YAML manifest (DNA, hApp, Web hApp) into a bundle, returning the path to which the bundle file was written.