implement delayed symlink creation
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 3 Nov 2016 11:02:15 +0000 (12:02 +0100)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 3 Nov 2016 13:04:21 +0000 (14:04 +0100)
commit786addd675c68064135aa83f11de58cf37a1b6b2
tree810cfa8eb8c314838bd01e6e48971529f52c2247
parentb4e1cb725969051056e8eb330f3da4264dbcd7ab
implement delayed symlink creation

Introduce a hook in ``extract()`` to invoke a callback if a
symlink is encountered in the archive. The implementation is
modeled after GNU Tar.

This is a v2 attempt on the symlink extraction problematic. The
first version simply ``unlink(2)`` all files before extraction
which is a less efficient albeit more robust strategy.
deltatar/deltatar.py
deltatar/tarfile.py