Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decompress single compressed .gz file #49

Open
idolpx opened this issue May 26, 2022 · 3 comments
Open

Decompress single compressed .gz file #49

idolpx opened this issue May 26, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@idolpx
Copy link

idolpx commented May 26, 2022

Can someone give me an example of how to decompress a file using libarchive?
It is just a .gz file but it's not a tar archive. I'm assuming libarchive can do that as well.

I get an "Unrecognized archive format" error when I try to call getFilesArray after opening.

@nika-begiashvili
Copy link
Owner

can I ask whats specific use case for this since browsers already handle gzip content ?

@nika-begiashvili
Copy link
Owner

#25

@nika-begiashvili nika-begiashvili added the enhancement New feature or request label Jan 24, 2024
@idolpx
Copy link
Author

idolpx commented May 29, 2024

Sorry I did not see this sooner. I'm using libarchivejs in a browser app that lets you explore the contents of media files.

https://meatloaf.cc/tools/mme/

Sometimes those files are just compressed but not in an archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants