Provide base name of an archive #689

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

Originally created by @Kimi-Arthur on GitHub (Jul 14, 2025).

For archive with files like some_file.part1.rar etc, it should be some_file. Otherwise, it should just be the file's basename like for a.rar, it should be a.

I eould suppose this to be on an IArchive.

Of course, it's possible to guess this name manually outside of this lib, but with more info, the lib may give a more informed result.

Thanks for all the effort!

Originally created by @Kimi-Arthur on GitHub (Jul 14, 2025). For archive with files like `some_file.part1.rar` etc, it should be `some_file`. Otherwise, it should just be the file's basename like for `a.rar`, it should be `a`. I eould suppose this to be on an `IArchive`. Of course, it's possible to guess this name manually outside of this lib, but with more info, the lib may give a more informed result. Thanks for all the effort!
claunia added the enhancementup for grabs labels 2026-01-29 22:15:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#689