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

Symlinks not created correctly when creating tarfiles #255

Closed bostrot closed 1 year ago

bostrot commented 1 year ago

When creating a tarfile with symlinks, they are not being created. Instead, empty files with a size of 0 are created. This can simply be fixed by adding the symlink location to the tar header after the type flag, I will open a PR later.