mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
In-place support for ordinary directories? #333
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 @cmpute on GitHub (Oct 12, 2018).
I found it useful if the normal directory can be added as an archive type so that I don't have to maintain two copies of code when dealing with either archived files or unarchived files. Do you have plan to or do you accept to add ordinary directories as an archive type so that unified access is obtained? I can offer some help on this.
@adamhathcock commented on GitHub (Oct 16, 2018):
I will accept PRs around this problem if you've got time :)
I originally didn't do it because I thought empty directories didn't make sense. I'm not 100% sure all formats allow it but it's something that ought to be done after looking back after 10-15 years of this project.
@cmpute commented on GitHub (Dec 27, 2018):
I found that the library is currently designed for file archives, which directories are actually not. So I think this propose may be not feasible. Thus I decide to close it.