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

[Path API] join method shouldn't check if the resulting path exists #2499

Closed
Shotman opened this issue Aug 20, 2021 · 0 comments
Closed

[Path API] join method shouldn't check if the resulting path exists #2499

Shotman opened this issue Aug 20, 2021 · 0 comments
Assignees
Labels
scope: api.js The @tauri-apps/api npm package

Comments

@Shotman
Copy link

Shotman commented Aug 20, 2021

Is your feature request related to a problem? Please describe.
Path method join shouldn't check if the resulting path exists since it can be used to generate a valid path to create it later

Describe the solution you'd like
You should be able to call join with parameter that result in paths that don't exist yet

Describe alternatives you've considered
I've just done concatenation for the time being but it's not the best cause Windows and Linux/MacOS don't behave the same so could be better to have it there

@Shotman Shotman changed the title [Path API] join method shouldn't checks if the resulting path exists [Path API] join method shouldn't check if the resulting path exists Aug 20, 2021
@amrbashir amrbashir added scope: api.js The @tauri-apps/api npm package enhancement labels Aug 20, 2021
@amrbashir amrbashir self-assigned this Aug 20, 2021
amrbashir added a commit that referenced this issue Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: api.js The @tauri-apps/api npm package
Projects
None yet
Development

No branches or pull requests

3 participants