Hello,
Can someone give an example of uncompressing + untarring a .tar.gz file (without call execProcess and likes, but instead using the zlib and tar libraries)?
I ended up on https://stackoverflow.com/questions/33082639/reading-files-from-tar-gz-archive-in-nim, but I still don't see a single wholesome solution.
Choosenim uses @dom96's untar package.
https://github.com/dom96/choosenim/blob/master/src/choosenim/utils.nim#L75
https://github.com/dom96/untar
There's also nimarchive which can do this.