-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] path transformation when creating tar file #271
Comments
When unpacking you can do this with an I am open to adding both to the Pack class to match this feature of gnutar. |
Adding an |
Closing this, as my issue was just about path transformation, not content transformation. Thanks for this! |
Was path transformation when creating tar files implemented? The |
Indeed, it's being called after the Header is already encoded, so that's not much help, is it? Fixing now. |
What / Why
While I found an of old issue (#10) and a closed PR (#17) about transforming the file path when writing a tar file, and there are references to "this now being possible in v3" I couldn't find any documentation of example of how this can actually be done.
As there is no transform cb when creating a tar file that could be used to do that, and the low level API seems quite closed in terms of what is exposed to outside classes due to the extensive use of Symbols, I'm wondering if you could clarify if path transformations are sill possible with v6, and maybe some pointers in the right direction or how an implementation of this could look like.
The text was updated successfully, but these errors were encountered: