mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
Request for Enhancing LinkTarget Capability to Support Multi-Level Link Traversal #586
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sdcb on GitHub (Sep 22, 2023).
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
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: