just
just copied to clipboard
Add `COMPONENT_SEPARATOR` and `PATH_SEPARATOR` constants
See https://github.com/casey/just/issues/2314#issuecomment-2740579171.
@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.
Yeah, any of those options work for me: COMPONENT_SEPARATOR, COMPONENT_SEP, DIR_SEP.
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.