Relative path function #8270
Natejoestev
started this conversation in
Ideas
Replies: 1 comment
-
I also think this would be a useful feature. Similar to the Node.js path module's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am making a program that manipulates files and shows the path to the user but I don't need the absolute path.
It would be nice if the
path
api had arelative
function:This would be useful for representing paths to the user. And sometimes you need to get a relative path for other stuff.
PS. I know you could just hardcode it into your project. But then you have to do that in every project you need it.
Beta Was this translation helpful? Give feedback.
All reactions