Morganamilo / paccat

Print pacman package files
GNU General Public License v3.0
30 stars 4 forks source link

Don't read the whole archive #15

Closed Morganamilo closed 2 years ago

Morganamilo commented 3 years ago

The compress_tools crate gives us an iterator of the whole archive and we just output the file we want. The iterator still reads though all the data though.

Morganamilo commented 3 years ago

Looking at libarchive it always reads the whole thing so I guess this is fine. Would still be nice to have a better interface though.

keysym commented 3 years ago

I don't think it's suitable, but would be awesome to have ZSTD Seekable.