decompress

Function decompress 

Source
pub async fn decompress<R: AsyncRead + AsyncSeek + Unpin + Send>(
    src_reader: R,
    dest: impl AsRef<Path>,
) -> Result<(), Error>
Available on non-WebAssembly only.
Expand description

Decompresses an archive from a reader to a destination directory.

ยงArguments

  • src_reader - Reader containing the archive data
  • dest - Path to the destination directory where files will be extracted