eightshift-libs
eightshift-libs copied to clipboard
Consider using realpath instead of manually constructing paths
Describe your feature request
The realpath function seems to provide similar functionality to what we're doing (mostly) manually or with helpers constructing the paths by concatenating their parts with DIRECTORY_SEPARATOR. It also resolves paths into absolute paths, and is cached.
Describe the solution you'd like
Consider using realpath instead of the current approach.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes