decompress_file

Function decompress_file 

Source
pub async fn decompress_file(
    src_path: impl AsRef<Path>,
    dest: impl AsRef<Path>,
) -> Result<(), Error>
Available on non-WebAssembly only.
Expand description

Decompresses an archive file to a destination directory.

This is a convenience function for decompressing archive files directly from the filesystem.

ยงArguments

  • src_path - Path to the source archive file
  • dest - Path to the destination directory where files will be extracted