Skip to content

Add COMPONENT_SEPARATOR and PATH_SEPARATOR constants #2679

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

Merged
merged 6 commits into from
Jul 1, 2025
Merged

Conversation

casey
Copy link
Owner

@casey casey commented Mar 24, 2025

See #2314 (comment).

@cspotcode, what do you think of the naming here? / is the COMPONENT_SEPARATOR, because it separates components, ; is the PATH_SEPARATOR, because it separates paths.

I want to keep the names short. We could also go with COMPONENT_SEP and PATH_SEP, although that is pretty incomprehensible.

@cspotcode
Copy link

Yeah, any of those options work for me: COMPONENT_SEPARATOR, COMPONENT_SEP, DIR_SEP.

@casey
Copy link
Owner Author

casey commented Mar 24, 2025

I changed the name to PATH_SEP and PATH_VAR_SEP. Kinda wanna let this sit for a second in case anyone has any feedback.

@casey casey enabled auto-merge (squash) July 1, 2025 06:59
@casey casey merged commit 0514c2c into master Jul 1, 2025
6 checks passed
@casey casey deleted the path-constants branch July 1, 2025 07:02
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