[PR #351] Implement Entry.ToString() #985

Open
opened 2026-01-29 22:18:29 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/351

State: closed
Merged: Yes


When inspecting a TarArchive under the debugger, I found that all entries are listed as {SharpCompress.Archives.Tar.TarArchiveEntry}.

This PR implements Entry.ToString() by returning Entry.Key, so that each entry now shows up with its actual file name.

Could be useful for logging/monitoring scenarios as well.

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/351 **State:** closed **Merged:** Yes --- When inspecting a `TarArchive` under the debugger, I found that all entries are listed as `{SharpCompress.Archives.Tar.TarArchiveEntry}`. This PR implements `Entry.ToString()` by returning `Entry.Key`, so that each entry now shows up with its actual file name. Could be useful for logging/monitoring scenarios as well.
claunia added the pull-request label 2026-01-29 22:18:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#985