Skip to main content

create

Function create 

Source
pub fn create(opts: &CreateOptions) -> Result<CreateReport, PackError>
Expand description

Pack a project root into a single archive.

§Arguments

  • opts — Source root, destination path, and compression level.

§Returns

A CreateReport carrying the manifest — including everything that was deliberately skipped — so the caller can report it without re-reading the archive.

§Errors