mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Sample to create a .tar.gz file from source directory #6
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 @jsinh on GitHub (Mar 5, 2014).
Hello,
I am really in need to find a library which can take of my .tar.gz compression needs.
This library seems promising to me, but somehow I am not able to get around the code to create a sample for .tar.gz file creation from source directory (source directory will contain more sub folder and files).
I would be thankful if the team can add a sample snippet for the same in your documentation or wiki page for reference or in reply to this issue.
-Jsinh
@adamhathcock commented on GitHub (Apr 15, 2014):
The unit tests are a good starting point: https://github.com/adamhathcock/sharpcompress/blob/master/SharpCompress.Test/GZip/GZipWriterTests.cs