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

Allow for case-insensitive README names #70

Merged

Conversation

lucperkins
Copy link
Member

The Option/Result logic I use to suss this out is pretty gnarly. I'm open to suggestion on how to clean it up.

@lucperkins lucperkins requested a review from cole-h August 25, 2023 01:06
src/release_metadata.rs Outdated Show resolved Hide resolved
Co-authored-by: Linus Heckemann <git@sphalerite.org>
src/release_metadata.rs Outdated Show resolved Hide resolved
lucperkins and others added 2 commits August 29, 2023 16:06
@lucperkins
Copy link
Member Author

lucperkins commented Aug 29, 2023

@lheckemann So, it turns out that this isn't so straightforward, as tokio::fs::ReadDir has a different API than std::fs::ReadDir. My solution here is a bit verbose and I'm open to suggestion on less-verbose alternatives.

src/release_metadata.rs Outdated Show resolved Hide resolved
lucperkins and others added 2 commits August 29, 2023 19:15
Co-authored-by: Linus Heckemann <git@sphalerite.org>
@grahamc grahamc merged commit e974b13 into main Aug 30, 2023
5 checks passed
@grahamc grahamc deleted the lucperkins/ds-1194-make-readme-detection-case-insensitive branch August 30, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants