You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "XenoAmess (via GitHub)" <gi...@apache.org> on 2023/03/06 15:44:45 UTC

[GitHub] [commons-compress] XenoAmess commented on pull request #365: COMPRESS-641: add getLinkFlag for TarArchiveEntry

XenoAmess commented on PR #365:
URL: https://github.com/apache/commons-compress/pull/365#issuecomment-1456377682

   > @XenoAmess are you going to retrieve the `linkFlag` byte value, and then compare doing something like `if (linkFlag == SOME_CONSTANT) {} else if (linkFlag == ANOTHER_CONSTANT) { ... }` ?
   > 
   > If so, would it be possible to instead use the public methods like `if (obj.isBlockDevice())`, `else if (obj.isCharacterDevice())`, etc., instead?
   > 
   > Just checking if there's no alternative to making this property public.
   > 
   > Cheers,
   > 
   > -Bruno
   
   no, I would put it directly into the output tar
   
   the mechenism of my compression is only compress entries with some linkFlag types.
   
   for others, just make them same and clone them directly into the output compressed tar.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org