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

uefi(filesystem): small quality of life improvements around filesystem and paths #996

Closed
wants to merge 2 commits into from

Conversation

RaitoBezarius
Copy link
Contributor

Following #995, I propose some QoE changes to make some FS code easier, I would like to focus on:

  • ends_with (extension detection)
  • is_ascii (filename sanitization)
  • open (bridge between low level and high level)

at the moment.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

Offers a way to know if a certain UTF-16 string contains only ASCII characters.
`open` might a bit too low-level, but it is a powerful API to bridge between
high-level structures and low-level structures, it would be a shame to force end-users
to reinvent it.
@phip1611 phip1611 self-assigned this Nov 9, 2023
@RaitoBezarius
Copy link
Contributor Author

Closed as it's a useful internal experiment for me honestly, will separate the changes into consensual ones.

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.

2 participants