Merge pull request #52 from bmeck/pax

place pax headers on header.pax to allow custom headers
This commit is contained in:
Mathias Buus 2016-04-04 19:31:26 +02:00
commit 3e8539459a

View file

@ -22,6 +22,7 @@ var emptyStream = function (self, offset) {
var mixinPax = function (header, pax) { var mixinPax = function (header, pax) {
if (pax.path) header.name = pax.path if (pax.path) header.name = pax.path
if (pax.linkpath) header.linkname = pax.linkpath if (pax.linkpath) header.linkname = pax.linkpath
header.pax = pax
return header return header
} }