[PR #640] [CLOSED] Allow writing a TarHeader directly via TarWriter #1137

Closed
opened 2026-01-29 22:19:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/640
Author: @anaisbetts
Created: 2/17/2022
Status: Closed

Base: masterHead: allow-tarheader-write


📝 Commits (1)

  • 74c21de Allow 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.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/640 **Author:** [@anaisbetts](https://github.com/anaisbetts) **Created:** 2/17/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `allow-tarheader-write` --- ### 📝 Commits (1) - [`74c21de`](https://github.com/adamhathcock/sharpcompress/commit/74c21de0b16d042e064447b3bbcd272ac83fe6be) Allow writing a TarHeader directly via TarWriter ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Writers/Tar/TarWriter.cs` (+6 -0) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:19:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1137