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

Add with_platform_encoding and with_platform_encoding_checked methods to Path and Utf8Path #36

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

chipsenkbeil
Copy link
Owner

@chipsenkbeil chipsenkbeil commented Oct 17, 2024

Adds with_platform_encodingandwith_platform_encoding_checkedmethods toPathandUtf8Path` to support converting to the platform encoding in the same way as converting to unix and windows encodings specifically.

Stack created with Sapling. Best reviewed with ReviewStack.

…hods to `Path` and `Utf8Path`

Adds with_platform_encoding` and `with_platform_encoding_checked` methods to `Path` and `Utf8Path` to support converting to the platform encoding in the same way as converting to unix and windows encodings specifically.
@chipsenkbeil chipsenkbeil merged commit f725c80 into main Oct 17, 2024
17 checks passed
@chipsenkbeil chipsenkbeil deleted the pr36 branch October 17, 2024 01:43
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.

1 participant