Skip to main content

pack

Function pack 

Source
pub async fn pack(
    src: PathBuf,
    tar_path: PathBuf,
    opts: PackContext,
) -> BoxliteResult<()>
Expand description

Pack src (file or directory) into a tar archive at tar_path.

Runs blocking I/O on a dedicated thread via spawn_blocking.