brendan-duncan / archive

Dart library to encode and decode various archive and compression formats, such as Zip, Tar, GZip, ZLib, and BZip2.
MIT License
399 stars 139 forks source link

Do not store full path in tar #274

Closed skythomp16 closed 11 months ago

skythomp16 commented 1 year ago

When creating a tar with TarFileEncoder, it stores the full absolute path with the file(s) but the ZipFileEncoder doesn't do that. I am wondering why the behavior is different and if there is a way to enable that behavior on the TarFileEncoder.

skythomp16 commented 1 year ago

I found the issue and opened a PR to fix it: https://github.com/brendan-duncan/archive/pull/275