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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]