mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
[PR #351] [MERGED] Implement Entry.ToString() #982
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/351
Author: @qmfrederik
Created: 2/16/2018
Status: ✅ Merged
Merged: 2/16/2018
Merged by: @adamhathcock
Base:
master← Head:entry-tostring📝 Commits (1)
05c8facImplement entry.ToString(), let it return entry.Key📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
src/SharpCompress/Common/Entry.cs(+6 -0)📄 Description
When inspecting a
TarArchiveunder the debugger, I found that all entries are listed as{SharpCompress.Archives.Tar.TarArchiveEntry}.This PR implements
Entry.ToString()by returningEntry.Key, so that each entry now shows up with its actual file name.Could be useful for logging/monitoring scenarios as well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.