mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-07 13:44:36 +00:00
[PR #349] [CLOSED] Extension method WriteAll(this IWriter, DirectoryInfo, string, SearchOption, bool) #981
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?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/349
Author: @SimonCahill
Created: 2/1/2018
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
c211f23Merge pull request #1 from adamhathcock/masterc094322Merge branch 'master' into masteradaa44dAdded new extension method📊 Changes
2 files changed (+31 additions, -2 deletions)
View changed files
📝
src/SharpCompress/Common/OptionsBase.cs(+1 -0)📝
src/SharpCompress/Writers/IWriterExtensions.cs(+30 -2)📄 Description
Extension method WriteAll (see title) with option to prepend directory name.
This extension method allows Sharpcompress to behave similar to the tar executable.
Only available with > net3.5.
Usage:
To prepend the directory name to the paths within the archive:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.