Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle trailing slash #610

Merged
merged 1 commit into from
Aug 10, 2024
Merged

Conversation

Ravencentric
Copy link
Contributor

Pull request type

  • Feature enhancement

What does this PR change?

Following in the footsteps of #609 (comment), this PR makes it so archive.read("some/file/") == archive.read("some/file") is True. This matches the behavior of TarFile and allows for interoperability with ZipFiles

@miurahr miurahr self-requested a review August 9, 2024 09:54
@miurahr miurahr added the enhancement New feature or request label Aug 9, 2024
@miurahr miurahr merged commit 220504a into miurahr:master Aug 10, 2024
24 checks passed
@Ravencentric Ravencentric deleted the trailing-slash branch August 10, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants