Skip to main content

create_gtbundle

Function create_gtbundle 

Source
pub fn create_gtbundle(bundle_dir: &Path, output_path: &Path) -> Result<()>
Expand description

Create a .gtbundle archive from a bundle directory using the default format.

§Arguments

  • bundle_dir - Source bundle directory
  • output_path - Destination .gtbundle file path

§Example

create_gtbundle(Path::new("./my-bundle"), Path::new("./dist/my-bundle.gtbundle"))?;