mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
SevenZipArchive doesn't include folders in entries #160
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 @mnadareski on GitHub (Mar 16, 2017).
I have a 7z file that includes a couple of blank folders. In my code, I was taking into account that blank folders were supposed to be treated specially, but when I ran it, the list of entries that was output when opening the archive included only the files. All folders should be included as entries as well, just like for the other archive types.
@mnadareski commented on GitHub (Mar 16, 2017):
More clarification, I found the code that would need a quick change: SevenZipArchive.cs#L109. If I have the time, I'll submit a pull request with the requested change.
@mnadareski commented on GitHub (Mar 17, 2017):
Looks like this was accepted as a merge. Closing this now.