Skip to content
New issue

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

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

Already on GitHub? # to your account

Make name-to-file-name conversion functions public #282

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Nov 30, 2022

Copy link
Collaborator

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks! not quite, see other comment

Copy link
Collaborator

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what i'd like is to make user_name_to_file_name public directly, so we can use with other suffixes than .glif

The function now takes a closure instead of a hashset, and now works
with any AsRef<str> type, anod not just Name; this makes it more
suitable as public API.
@cmyr cmyr force-pushed the pub-name-to-file-name branch from 6909612 to cce003d Compare November 30, 2022 16:54
Copy link
Collaborator

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for real now!

@cmyr cmyr merged commit 8a464f4 into master Nov 30, 2022
@cmyr cmyr deleted the pub-name-to-file-name branch November 30, 2022 20:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants