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 functions to deal with paths #3818

Open
1 task done
CrosRoad95 opened this issue Oct 20, 2024 · 1 comment
Open
1 task done

Add functions to deal with paths #3818

CrosRoad95 opened this issue Oct 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@CrosRoad95
Copy link
Contributor

Is your feature request related to a problem? Please describe.

if you have for example base path, and file name, it may be problematic to deal with them using current set of functions but mta already have such functions build in.

Describe the solution you'd like

Add functions to manipulate patches, like pathJoin(pathA, fileName), getRelativePath and so on ( copy idea from node for example )

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
@CrosRoad95 CrosRoad95 added the enhancement New feature or request label Oct 20, 2024
@TracerDS
Copy link
Contributor

The only need would be for relative/absolute paths.
PathJoin can just be done by concatenating paths with / as a separator. MTA will handle the rest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants