mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 05:27:05 +00:00
How to extract from one level below the archive #618
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 @Bluscream on GitHub (Mar 9, 2024).
I have the following code:
and the first entry has a CRC but it's key or other attributes are always null:
Related archive: https://github.com/dayz-cc/serverfiles/archive/refs/heads/main.tar.gz
Related phind convo: https://www.phind.com/agent?cache=cltk80vqr001ola08l98kgz9b
@adamhathcock commented on GitHub (Mar 11, 2024):
use entry.OpenEntryStream and you can point that stream where ever you want...this is what WriteToDirectory uses
https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Archives/IArchiveEntryExtensions.cs