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

Adding a Hard Link entry type for Tar #124

Open
maygarg opened this issue Feb 2, 2016 · 3 comments
Open

Adding a Hard Link entry type for Tar #124

maygarg opened this issue Feb 2, 2016 · 3 comments

Comments

@maygarg
Copy link

maygarg commented Feb 2, 2016

Hi,

I need to be able to add Hard Link entries in a Tar Archive.

In the current code TarEntry has a TarFilePart, TarFilePart has a TarHeader, TarHeader has an EntryType property where probably a HardLink type can be specified but TarFilePart, TarHeader and EntryType are all inaccessible from the client code.

Even if they were, there is no property which will have the Link file name.

Am I missing anything here or the SharpCompress library does not support writing Hard Link entries to a Tar archive?

Regards,
Mayank

@adamhathcock
Copy link
Owner

I'll have to revisit the Tar code. I can't remember I properly implemented Hard Links or not. I do know Tar is one of the more incomplete implementations in sharpcompress.

@konste
Copy link

konste commented Aug 11, 2016

Is there a chance you may revisit this issue? Storing Hardlinks in TAR is its unique feature and the reason may people actually select TAR over other archivers - it makes dramatic difference when the data contain many duplicate files.

@adamhathcock
Copy link
Owner

It is unlikely I'll be doing anything with sharpcompress myself between a young family and work.

Accepting pull requests though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants