sharpcompress icon indicating copy to clipboard operation
sharpcompress copied to clipboard

Request for Enhancing LinkTarget Capability to Support Multi-Level Link Traversal

Open sdcb opened this issue 2 years ago • 0 comments

Dear developers,

I'm currently using the SharpCompress library for handling tar files with symbolic links. However, I've encountered a problem where LinkTarget only provides one level of link information.

For example, if A links to B, and B links to C, I can only find that A links to B. The LinkTarget for entry B is null, indicating that it doesn't have any link targets, which is not correct in my case.

For example this tgz file: https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_ubuntu22_2023.0.1.11005.fa1c41994f3_x86_64.tgz

image

libopenvino_c.so should links to libopenvino_c.so.2301 and then libopenvino_c.so.2301 should links to libopenvino_c.so.2023.0.1 and libopenvino_c.so.2023.0.1 is the real file

However in SharpCompress, libopenvino_c.so links to libopenvino_c.so.2301, which is correct however libopenvino_c.so.2301 size is 0 but links to null: which is wrong: image

sdcb avatar Sep 22 '23 12:09 sdcb