Skip to content
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

Redo Tar support #248

Open
adamhathcock opened this issue May 30, 2017 · 2 comments
Open

Redo Tar support #248

adamhathcock opened this issue May 30, 2017 · 2 comments

Comments

@adamhathcock
Copy link
Owner

The Tar code I've originally used feels too hacky and featureless. Find another implementation.

https://github.com/icsharpcode/SharpZipLib/tree/master/src/ICSharpCode.SharpZipLib/Tar

SharpZipLib is MIT licensed.

@adamhathcock
Copy link
Owner Author

Might fix:
#22
#50
#124
#132

@adamhathcock
Copy link
Owner Author

Need to watch out for this: icsharpcode/SharpZipLib#103

markfinal added a commit to markfinal/sharpcompress that referenced this issue Nov 1, 2018
…mlinks for .NET standard 2 and Posix platforms

Extracts linkname from the tar header, and exposes this on IEntry as the LinkTarget (string) property. If an entry is not a symlink, then that property is null.

Uses Mono.Posix.NETStandard nuget to create a symlink. However, this is only applicable to .NET standard 2.0+. So far, unable to find a nuget that works for older versions.

Also, not sure what to do on Windows.
markfinal added a commit to markfinal/sharpcompress that referenced this issue Nov 1, 2018
…tar containing symlinks

This is a source archive of the MoltenVK project from github, which is my use-case for SharpCompress.
I added a test case in the project, which should extract the tar, and validate any symlink targets with what the tar thinks it ought to be.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant