isaacs / node-tar

tar for node
ISC License
837 stars 183 forks source link

Move / rename files on extract #423

Open hudlow opened 5 days ago

hudlow commented 5 days ago

It appears that onWriteEntry lets you move or rename a file when it's going into an archive, but can you do the same with transform or onReadEntry for files coming out of an archive? strip seems like a special case of this, but I'm trying to work out if I can transform and rename files without first writing them to disk and worrying about races.