mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-10 21:22:11 +00:00
[PR #640] [CLOSED] Allow writing a TarHeader directly via TarWriter #1137
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/640
Author: @anaisbetts
Created: 2/17/2022
Status: ❌ Closed
Base:
master← Head:allow-tarheader-write📝 Commits (1)
74c21deAllow writing a TarHeader directly via TarWriter📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
src/SharpCompress/Writers/Tar/TarWriter.cs(+6 -0)📄 Description
This splits TarWriter.Write up and adds a new public method to allow writing TarHeaders directly. This allows users to set POSIX attributes that are otherwise not accessible
Fixes #639
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.